swell
Member
- Local time
- Today, 22:39
- Joined
- Mar 10, 2020
- Messages
- 77
Pat, thank you for your reply.It is important that you use the correct event to do your validation. If you are looking for a duplicate and
The event you have settled on is incorrect. If you don't actually cancel the saving of the record, the bad data will get saved unless the database engine raises an error. Understanding which event to use for which purpose is critical in building solid applications.
I re-read my description how I fixed my problem, it was maybe not very well written but I actually notify the user that this would create a duplicate record then clear the record before changing focus back to the first field.