|
-
Jul 27th, 2000, 10:41 AM
#1
Thread Starter
Member
Hi
The following code displays the results howver the recordcount property of the ado recs recordset returns -1. There are over 100 records in the resultset!
Set Cons = New Connection
Set Recs = New Recordset
Cons.Open "provider=MSDASQL;dsn=accessextreme", "admin", ""
Recs.Open "select * from customer", Cons, adOpenDynamic, adLockOptimistic
Text1.DataField = "city"
Set Text1.DataSource = Recs
Can anyone please give help in this?
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
|