I have a unbound form to add data into a table. I have an ADD button which then adds in the field data on the form into the relevent table (these form fields are lookups to other tables, so the data that will be appended will be all ID numbers).
I have a query called qRequestDuplicateCheck (which is a combination of two tables), that has just the fields in that I need to prevent duplicates of. I need to search the entries in that query and compare them with the content in the unbound fields in the data entry form.
There is an ADD RECORDS button, so I will put the check in there: IF my form fields don't match any entries in the query, ADD, if they do, exit sub (with a message).
How do I cycle through that query table and compare? Thanks
I have a query called qRequestDuplicateCheck (which is a combination of two tables), that has just the fields in that I need to prevent duplicates of. I need to search the entries in that query and compare them with the content in the unbound fields in the data entry form.
There is an ADD RECORDS button, so I will put the check in there: IF my form fields don't match any entries in the query, ADD, if they do, exit sub (with a message).
How do I cycle through that query table and compare? Thanks