purpledawn
Programmer
Hi everyone.
I have developed a form with a subform. Some controls on the subform are invisible and are populated from contols on the main form when they are updated.
Some controls on the subform must be populated before the subfrom can be updated, due to referential integrity rules. If the user clicks on the the subform before those subform controls are populated, an error is generated.
Does anyone have any ideas for interrupting the error, displaying my own error message, and shifting focus back to the main form?
Steve Veltman.
I have developed a form with a subform. Some controls on the subform are invisible and are populated from contols on the main form when they are updated.
Some controls on the subform must be populated before the subfrom can be updated, due to referential integrity rules. If the user clicks on the the subform before those subform controls are populated, an error is generated.
Does anyone have any ideas for interrupting the error, displaying my own error message, and shifting focus back to the main form?
Steve Veltman.