Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timing of Enforcement of Business Rules

Status
Not open for further replies.

meliorexi

Technical User
Dec 1, 2003
16
AU
Hi

This is pretty hard to describe. I have a form which contains a subform in a 1 to M relationship. In the main form the user creates a flight. In the subform the user has to allocate multiple crew to the flight. I am looking for some way to validate whether the crew are in fact the correct crew for the flight (eg. by referencing the crew persons job title).

I know some for of data validation macro would do the trick, but at what point should it be triggered? Not when the form is saved (as this may happen at any time) and not when the crew sub-form are navigated (as the user may wish to do this several time before committing his/her crew selections).

Any help greatly appreciated.
 
use the forms BeforeUpdate event

Alec Doughty
Doughty Consulting P/L

"Life's a competition. Play hard, but play fair"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top