I hope I can explain this to make sense..... I have a form (datasheet) and the record source is TABLEA. TABLEA has 3 columns defined as required keys, COL1, COL2, COL3. When user is in row in datasheet doing data entry, I have put some validation code on the 'exit event' of each column to do some validation. The problem that I am having is that the user can enter data in COL1 or any COL and use the mouse to click into a different column so they actually did not execute the 'on exit' event since they did not go into the column. When they do this, they get MFD error because they skipped over a column that is defined as a primary key on the table. So, I thought I would try also putting the same validation on the Form event "Before Update", however, if they key COL1, then decide they don't want to enter it and hit the escape key the "Before Update" form event executes and runs the validations for each column and it seems to get 'stuck' and pops up my warning messages from the validation over and over.
I wish I could tell users they must tab through each field... but they do not want to do it that way, they want to skip around on the record. Any suggestions on how to handle this????
I wish I could tell users they must tab through each field... but they do not want to do it that way, they want to skip around on the record. Any suggestions on how to handle this????
Comment