BikeToWork
Programmer
I have a main form with two subforms in it. One of the business rules is that there must be data in the two subforms before the record in the main form is saved. The problem is that the record in the main form is automatically saved when either of the subforms is entered. Therefore, if I test for the presence of data in the subforms and put "Cancel = True" in the BeforeUpdate event for the main form if either of them is empty, the application won't let me enter the subforms to enter the data. Does anyone know of a workaround for this? Should I use a different event for data validation? Any advice is much appreciated.