Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO recordset problems.
Message
From
18/06/2001 03:31:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
ADO recordset problems.
Miscellaneous
Thread ID:
00520465
Message ID:
00520465
Views:
43
Hi all, can anyone tell me why I am getting 5 results back from my rsDiv query and only one result back from my rsProdLine query? Has anyone encountered this type of behaviour before? Am I using the wrong syntax? I'm pretty new to ADO soo..... btw - it is an access db not a foxpro db...


Dim db As Database
Dim rsDiv As Recordset
Dim rsProdLine As Recordset

Set db = CurrentDb
Set rsDiv = db.OpenRecordset("select distinct division as div " + _
"from productline]")
Set rsProdLine = db.OpenRecordset("select productline " + _
"from productline")

MsgBox rsDiv.RecordCount
MsgBox rsProdLine.RecordCount
Next
Reply
Map
View

Click here to load this message in the networking platform