mark curtis
05-31-2001, 09:35 AM
Dear all,
I have a main form in datasheet view and a sub form linked to the main form, which is also in datasheet view.
What I want to do is make sure a user can not enter data in the subform related to record in the main form until the main form is populated.
I keep getting am error message about key violation, which i know is because a user is populating the related subform before the master form.
Any examples on which event I should use and what type of code would be much appreciated.
Thanks
Mark
I have a main form in datasheet view and a sub form linked to the main form, which is also in datasheet view.
What I want to do is make sure a user can not enter data in the subform related to record in the main form until the main form is populated.
I keep getting am error message about key violation, which i know is because a user is populating the related subform before the master form.
Any examples on which event I should use and what type of code would be much appreciated.
Thanks
Mark