A
Abbarition
I have a database I am in the process of converting from
Access97 to Access2000. In 97, I used
Recordset.FindFirst and Recordset.NoMatch to find if
there was a record that matched my criteria. In
converting to 2000, I no longer have those options (I'm
try to avoid adding the DAO reference). Can anyone tell
me if the best way to go about this now is to use
Recordset.Find and then Recordset.EOF=True if it cannot
find the record?
Also, in 97 I was trying to find where the criteria
matched in two fields. For example, my code was:
rst.FindFirst "[fld1] = 1 And [fld2] = 2"
In 2000, I get an error any time I try to use the
criteria on more than one field. Is there a different
way to search for 2 fields in 2000?
Thanks so much!
Access97 to Access2000. In 97, I used
Recordset.FindFirst and Recordset.NoMatch to find if
there was a record that matched my criteria. In
converting to 2000, I no longer have those options (I'm
try to avoid adding the DAO reference). Can anyone tell
me if the best way to go about this now is to use
Recordset.Find and then Recordset.EOF=True if it cannot
find the record?
Also, in 97 I was trying to find where the criteria
matched in two fields. For example, my code was:
rst.FindFirst "[fld1] = 1 And [fld2] = 2"
In 2000, I get an error any time I try to use the
criteria on more than one field. Is there a different
way to search for 2 fields in 2000?
Thanks so much!