Y
Yanto
I tried to use Find in ADO recordset (MSDE) as follows:
rst.Find "(([UserID]=" & pubUserID & ") And ([FormReportID]=" &
DLookup("[FormReportID]", "tblFormReports", "[FormReportName]='" & Me.name &
"'") & "))"
this code result an error like this:
"The application is using arguments that are of the wrong type, are out of
acceptable range, or are in conflict with one another"
If I remove the part folows the word "And", no error produced, it seems that
I can't use "And" in criteria.
Any comment please? anything wrong with that code?
TIA
Rgds
Yanto
rst.Find "(([UserID]=" & pubUserID & ") And ([FormReportID]=" &
DLookup("[FormReportID]", "tblFormReports", "[FormReportName]='" & Me.name &
"'") & "))"
this code result an error like this:
"The application is using arguments that are of the wrong type, are out of
acceptable range, or are in conflict with one another"
If I remove the part folows the word "And", no error produced, it seems that
I can't use "And" in criteria.
Any comment please? anything wrong with that code?
TIA
Rgds
Yanto