Link to home
Start Free TrialLog in
Avatar of tariqanis
tariqanis

asked on

using Filters with ADO recordsets

Hi..... my VB application uses an MS Access database.. I need to learn to use ADO filtering capabilities as an addition to SQL statements for records retrieval..
In the following code I used and SQL statement to get all AC_NO that matches the value of texbox txtSearchPlane...

rsDefects.Open "Select * From Defects where AC_No = '" & txtSearchPlane & "'", _
cnAP, adOpenKeyset, adLockOptimistic

Supposing I want to filter the resulting recordset by a criteria that filters all AC_No that match the value of  textOutOfService...?

A couple of examples would help... thanks
ASKER CERTIFIED SOLUTION
Avatar of inthedark
inthedark
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial