Hi,
I have a user input form and I need to prevent duplicate references being added. In the after update of the combo box selection I would like the form to flag if the reference chosen is a duplicate or whether it has not been entered.
The difficulty I have is that I am checking 3 columns for this reference no. The combo box with the reference no is named 'caseid'. Columns in the table which need to be checked are 'caseid', 'accountno' and 'ir'.
Tried to use a dlookup but only used this to check one column not multiple.
Thanks
James
I have a user input form and I need to prevent duplicate references being added. In the after update of the combo box selection I would like the form to flag if the reference chosen is a duplicate or whether it has not been entered.
The difficulty I have is that I am checking 3 columns for this reference no. The combo box with the reference no is named 'caseid'. Columns in the table which need to be checked are 'caseid', 'accountno' and 'ir'.
Tried to use a dlookup but only used this to check one column not multiple.
Thanks
James