Kathy
November 29th, 1999, 02:54 PM
Hi ,
I have trouble using the "Find" method for ADO;
If Employees table has one-field Index : LastName, then this statement will
work fine :
strSearch = "LastName = 'ABC' "
DataEnvironment1.rsEmployee.Find strSearch
But if Employees table has mutiple-field index : LastName & FirstName,
then I am stuck:
strSearch = "LastName = 'ABC' , AND FirstName = 'DEF' "
DataEnvironment1.rsEmployee.Find strSearch
---> The error message I've got is:
"The application is using arguments that are of the wrong type ,
are out of acceptable range or are in conflict with one another"
Please help me out.
Thanks
I have trouble using the "Find" method for ADO;
If Employees table has one-field Index : LastName, then this statement will
work fine :
strSearch = "LastName = 'ABC' "
DataEnvironment1.rsEmployee.Find strSearch
But if Employees table has mutiple-field index : LastName & FirstName,
then I am stuck:
strSearch = "LastName = 'ABC' , AND FirstName = 'DEF' "
DataEnvironment1.rsEmployee.Find strSearch
---> The error message I've got is:
"The application is using arguments that are of the wrong type ,
are out of acceptable range or are in conflict with one another"
Please help me out.
Thanks