I want to add a record through a form, but I have to check if the value already exists on the table. The value composed of a client number and account number.
Now, I can run a query in VB and add the record if the query is unsuccessful i.e. no current records match the record I am trying to add, but how do I check in my code if the query is unsuccessful?
Can I achieve the same using a DLOOKUP?
Now, I can run a query in VB and add the record if the query is unsuccessful i.e. no current records match the record I am trying to add, but how do I check in my code if the query is unsuccessful?
Can I achieve the same using a DLOOKUP?