I have a database with a multiple fields 3 of which are: ID which is an autonumber IDtype which is text COMPANY which is text as well
with the variable: Dim rs As DAO.Recordset
when I do rs.FindFirst on the table I get the following results
rs.FindFirst "ID=367" -> code runs fine but this way only allows me to get that one specific record
rs.FindFirst "IDtype='71'" -> code runs fine
rs.FindFirst "COMPANY=XDRT" -> runtime error '3070': Access db engine does not recognize 'COMPANY' as a valid field name or expression (I also tried putting single quotes around XDRT and still same error)
The only difference between COMPANY field and IDtype field is the format is set to "@" for the COMPANY field
Any help on this would be much appreciated. Thanks in advance