Click here to Skip to main content
       

Visual Basic

 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet PinmvpRichard MacCutchan7-Jan-13 7:39 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet PinmemberShailesh Shah12-Jan-13 20:20 
Questionwhich method I should go with Pinmemberdemo 22-Jan-13 20:54 
AnswerRe: which method I should go with PinmemberEddy Vluggen4-Jan-13 23:51 
Questionvb6 with ms access2007 database Pinmembertuticorinmano2-Jan-13 10:58 
AnswerRe: vb6 with ms access2007 database PinmemberDavid Mujica2-Jan-13 11:26 
GeneralRe: vb6 with ms access2007 database Pinmembertuticorinmano2-Jan-13 13:49 
QuestionShould be simple: incompatible types PinmemberAndreFratelli1-Jan-13 8:44 
Hi everyone,
 
I have this declaration:
 
Sub CreateTablePessoas(db As Database)
  ' Some code here
End Sub
 
And then this:
 
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 PinmemberAndreFratelli2-Jan-13 1:27 
GeneralRe: Should be simple: incompatible types PinmemberGuyThiebaut7-Jan-13 23:34 
Questiondatagrid in vs 2012 Pinmemberjenkinsdjj30-Dec-12 21:22 
AnswerRe: datagrid in vs 2012 PinmvpRichard MacCutchan30-Dec-12 23:29 
GeneralRe: datagrid in vs 2012 Pinmemberjenkinsdjj31-Dec-12 1:40 
QuestionGetting innertext of HTML with </ br> tag between words PinmemberStonesteel26-Dec-12 23:57 
AnswerRe: Getting innertext of HTML with </ br> tag between words PinmvpDave Kreskowiak27-Dec-12 9:49 
GeneralRe: Getting innertext of HTML with </ br> tag between words PinmemberStonesteel27-Dec-12 22:04 
GeneralRe: Getting innertext of HTML with </ br> tag between words PinmvpDave Kreskowiak28-Dec-12 5:41 
Questionthreading impliment PinmemberMichael Hulak25-Dec-12 18:58 
AnswerRe: threading impliment PinmemberDineshshp25-Dec-12 19:32 
AnswerRe: threading impliment PinmemberEddy Vluggen26-Dec-12 13:16 
QuestionHow to read list of local and network printers PinmemberKASR125-Dec-12 8:21 
AnswerRe: How to read list of local and network printers PinmemberEddy Vluggen25-Dec-12 9:30 
GeneralRe: How to read list of local and network printers PinmemberKASR126-Dec-12 4:38 
GeneralRe: How to read list of local and network printers PinmemberEddy Vluggen26-Dec-12 12:58 
GeneralRe: How to read list of local and network printers [modified] PinmemberKASR127-Dec-12 0:15 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 17 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid