|
-
Jan 10th, 2005, 04:32 AM
#1
Thread Starter
Addicted Member
Connection Problem
hello i have a database n i want to connect to it using ADODB.connection, this is the code i use
Dim con As New ADODB.Connection
Dim data As New ADODB.Record
data.Open "select * from table1", con
MsgBox data.fields(0)
but it says "The connetion can't be used to perform this operation, it is either closed or invalid in this context"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|