Hi All,
I have been struggling with this one for a while and have tried several different options.
Problem: I have a form that is on continuous form and I have fields that I want entered. If these fields are not entered on moving from that record, I want a message box coming up giving them the option to reenter data or continue without saving.
Option 1: Put "Is not null" in Validation rule and message in validation text. For some reason the validation rule just does not kick in, am I missing something. I have tried it in both the table and the form but the message does not come up. The record, however is not saved.
Option 2: With my single form forms, I use all my own buttons, (not the navigation buttons) and put code on all buttons, this works beautifully, however with continuous form forms, the user can easily move to another record without using buttons, so I need something more general. I have tried putting code in the close button, works beautifully when clicking close, but nothing else. Have tried Before update event but then if you click close it brings up message but closes regardless of options, if I put it in both it brings up the message box twice.
Is there a more efficient way of doing this and ensuring that whatever the user chooses to do that a record cannot be saved without those fields entered.
Thanks
I have been struggling with this one for a while and have tried several different options.
Problem: I have a form that is on continuous form and I have fields that I want entered. If these fields are not entered on moving from that record, I want a message box coming up giving them the option to reenter data or continue without saving.
Option 1: Put "Is not null" in Validation rule and message in validation text. For some reason the validation rule just does not kick in, am I missing something. I have tried it in both the table and the form but the message does not come up. The record, however is not saved.
Option 2: With my single form forms, I use all my own buttons, (not the navigation buttons) and put code on all buttons, this works beautifully, however with continuous form forms, the user can easily move to another record without using buttons, so I need something more general. I have tried putting code in the close button, works beautifully when clicking close, but nothing else. Have tried Before update event but then if you click close it brings up message but closes regardless of options, if I put it in both it brings up the message box twice.
Is there a more efficient way of doing this and ensuring that whatever the user chooses to do that a record cannot be saved without those fields entered.
Thanks