Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select from record set again
Message
From
23/06/2005 01:43:16
 
 
To
22/06/2005 22:18:55
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
01018049
Message ID:
01025706
Views:
15
Hi ..
to use filter after select.., try this simple example below:

Dim rs as ADODB.RecordSet
rs.open "SELECT CUSTCODE, STOCKID, PRICE FROM SALES ORDER BY SALESDATE",cndata,adOpenKeyset, adLockReadOnly

Dim mCustCode as String
mCustCode = Text1.Text

rst.Filter = "CUSTCODE = '" & mCustCode & "'"

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform