Okay, adding the sub main got rid of the first compile error. But now I'm getting this error
"User Defined type not defined"
it is highlighting the following line.
conn As ADODB.Connection
Could someone provide a link to the guide that JOHMWM refers to in his reply.
Thanks
This is the code that I put in my VB module for my app based on forum suggestions, however I get a compile error when I try to run the program. It says INVALID OUTSIDE PROCEDURE.[sadeyes]
Could you tell me what I am doing wrong... the code follows
Public conn As ADODB.Connection
Public rs As...
I am new to VB and Access
I am running VB 6.0 and Access 2000
Could anyone tell me how I create the connection in VB to my access database.
Would either of the open statements below work
Public conn As ADODB.Connection
Public rs As ADODB.Recordset
Public shape As Integer
Public questionNum As...
I actually have a question?
I am new to VB and Access
I am running VB 6.0 and Access 2000
Could anyone tell me how I create the connection in VB to my access database.
Would either of the open statements below work
Public conn As ADODB.Connection
Public rs As ADODB.Recordset
Public shape As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.