Click here to Skip to main content
15,881,882 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
Richard MacCutchan7-Jan-13 6:39
mveRichard MacCutchan7-Jan-13 6:39 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
Shailesh Shah12-Jan-13 19:20
Shailesh Shah12-Jan-13 19:20 
Questionwhich method I should go with Pin
demo 22-Jan-13 19:54
demo 22-Jan-13 19:54 
AnswerRe: which method I should go with Pin
Eddy Vluggen4-Jan-13 22:51
professionalEddy Vluggen4-Jan-13 22:51 
Questionvb6 with ms access2007 database Pin
tuticorinmano2-Jan-13 9:58
tuticorinmano2-Jan-13 9:58 
AnswerRe: vb6 with ms access2007 database Pin
David Mujica2-Jan-13 10:26
David Mujica2-Jan-13 10:26 
GeneralRe: vb6 with ms access2007 database Pin
tuticorinmano2-Jan-13 12:49
tuticorinmano2-Jan-13 12:49 
QuestionShould be simple: incompatible types Pin
AndreFratelli1-Jan-13 7:44
AndreFratelli1-Jan-13 7:44 
Hi everyone,

I have this declaration:

VB
Sub CreateTablePessoas(db As Database)
  ' Some code here
End Sub


And then this:

VB
Sub CreateMyForm()
    Dim db As Database
    Dim tdf As TableDef

    Set db = CurrentDb()
    Set tdf = GetTable("Pessoas", db)

    If tdf Is Nothing Then
        CreateTablePessoas (db)
    End If
End Sub


But when calling CreateTablePessoas(db) I get error 13: incompatible types (I'm translating the error message from portuguese, so I'm not sure that's how it would display in english).

I'm not much of a VBA guy, so what's the problem here?

Thanks in advance.
Fratelli

AnswerRe: Should be simple: incompatible types Pin
AndreFratelli2-Jan-13 0:27
AndreFratelli2-Jan-13 0:27 
GeneralRe: Should be simple: incompatible types Pin
GuyThiebaut7-Jan-13 22:34
professionalGuyThiebaut7-Jan-13 22:34 
Questiondatagrid in vs 2012 Pin
jenkinsdjj30-Dec-12 20:22
jenkinsdjj30-Dec-12 20:22 
AnswerRe: datagrid in vs 2012 Pin
Richard MacCutchan30-Dec-12 22:29
mveRichard MacCutchan30-Dec-12 22:29 
GeneralRe: datagrid in vs 2012 Pin
jenkinsdjj31-Dec-12 0:40
jenkinsdjj31-Dec-12 0:40 
QuestionGetting innertext of HTML with </ br> tag between words Pin
Stonesteel26-Dec-12 22:57
Stonesteel26-Dec-12 22:57 
AnswerRe: Getting innertext of HTML with </ br> tag between words Pin
Dave Kreskowiak27-Dec-12 8:49
mveDave Kreskowiak27-Dec-12 8:49 
GeneralRe: Getting innertext of HTML with </ br> tag between words Pin
Stonesteel27-Dec-12 21:04
Stonesteel27-Dec-12 21:04 
GeneralRe: Getting innertext of HTML with </ br> tag between words Pin
Dave Kreskowiak28-Dec-12 4:41
mveDave Kreskowiak28-Dec-12 4:41 
Questionthreading impliment Pin
Michael Hulak25-Dec-12 17:58
Michael Hulak25-Dec-12 17:58 
AnswerRe: threading impliment Pin
Dineshshp25-Dec-12 18:32
professionalDineshshp25-Dec-12 18:32 
AnswerRe: threading impliment Pin
Eddy Vluggen26-Dec-12 12:16
professionalEddy Vluggen26-Dec-12 12:16 
QuestionHow to read list of local and network printers Pin
KASR125-Dec-12 7:21
KASR125-Dec-12 7:21 
AnswerRe: How to read list of local and network printers Pin
Eddy Vluggen25-Dec-12 8:30
professionalEddy Vluggen25-Dec-12 8:30 
GeneralRe: How to read list of local and network printers Pin
KASR126-Dec-12 3:38
KASR126-Dec-12 3:38 
GeneralRe: How to read list of local and network printers Pin
Eddy Vluggen26-Dec-12 11:58
professionalEddy Vluggen26-Dec-12 11:58 
GeneralRe: How to read list of local and network printers Pin
KASR126-Dec-12 23:15
KASR126-Dec-12 23:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.