projecttoday
Programmer
I have an append query that I execute with docmd.openquery in the click event of a command button on a form. What I would like to do is insert a search of one of the tables for the existence of a record. I would insert this before the docmd.openquery. I need to know if the record exists. I would like to use a SELECT statement instead of Dlookup. I can't find anything in the documentation about openquery setting a return code.
How do I query a table in code and get a found/not found result?
Robert
How do I query a table in code and get a found/not found result?
Robert