I have a field named Pcode within a table and on a form and I have a textbox named ProducerCode that has Pcode as a controlsource.
The form is generally a data entry form but I need to create it so that if somebody enters a value in the ProducerCode textbox that already exists in the table, it will display that record that has that specific value in the Pcode field.
If the value does not exist, then continue adding the new entry.
Since the value in the Pcode field is basically my unique identifier, that value can only be in the table once.
Any help would be greatly appreciated
Thanks in advance
The form is generally a data entry form but I need to create it so that if somebody enters a value in the ProducerCode textbox that already exists in the table, it will display that record that has that specific value in the Pcode field.
If the value does not exist, then continue adding the new entry.
Since the value in the Pcode field is basically my unique identifier, that value can only be in the table once.
Any help would be greatly appreciated
Thanks in advance