Nightowl4933
Tryin' to do it right...
- Local time
- Today, 06:58
- Joined
- Apr 27, 2016
- Messages
- 151
I have a form for users to enter data and, on clicking a Command Button, adding that record to the dataset.
I've added some basic error checking to ensure the necessary fields have data before the record can be added, but I'd like to prevent duplicate records being added.
Only the [Reference] field cannot be a duplicate (everything else can be), but I was considering using a Lookup of that field in the data table, and using a MsgBox() to identify to users a record with that [Reference] already exists.
Could someone give me a starting point, please?
Thanks.
I've added some basic error checking to ensure the necessary fields have data before the record can be added, but I'd like to prevent duplicate records being added.
Only the [Reference] field cannot be a duplicate (everything else can be), but I was considering using a Lookup of that field in the data table, and using a MsgBox() to identify to users a record with that [Reference] already exists.
Could someone give me a starting point, please?
Thanks.