I write the following line:
Dim rs As ADODB.connection
and that is what i get:"User-Defined Type not defined"
how do i define my adodb connection and recordset so i can use them
Printable View
I write the following line:
Dim rs As ADODB.connection
and that is what i get:"User-Defined Type not defined"
how do i define my adodb connection and recordset so i can use them
Have you added MS Active Data Object 2.x to your list of references?
how do i add a refrence to this?
Go to Project->References and find it in the list. There may be several listed there like a 2.1 version, 2.5, 2.7, etc. I would go witht the latest one.
found it, thanks!