I am trying to locate a single record from a table by using the statement
ado.recordsource = SELECT FROM ClientDetails WHERE ClientID =temp
Because ClientID is the primary key (and the variable temp contains the required ClientID number), I would expect the recordset to only return one record - except it doesn't. When searching through the result in debug, it seems to go through every record in the table.
What Am I doing wrong?
