Re: Validation rule between 2 fields
From: Jeff Boyce (JeffBoyce_IF_at_msn.com-DISCARD_HYPHEN_TO_END)
Date: 01/05/05
- Next message: BruceM: "RE: Accounting Database"
- Previous message: Jeff Boyce: "Re: how do i modify a tempate in Access?"
- In reply to: Amir: "Validation rule between 2 fields"
- Next in thread: Amir: "Re: Validation rule between 2 fields"
- Reply: Amir: "Re: Validation rule between 2 fields"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 5 Jan 2005 04:00:51 -0800
The unstated assumption in Kevin's reply is that you are working in a form.
Tables store data, forms display it for add/edit. Access/JET tables have no
"triggers" (where SQL-Server tables do), but Access forms have "events".
Kevin mentioned using the BeforeUpdate event (of your form displaying this
data) to add validation code.
-- Good luck Jeff Boyce <Access MVP> "Amir" <ami77a@hotmail.com> wrote in message news:%23zrdipn8EHA.3840@tk2msftngp13.phx.gbl... > Hi, > > In a certain table I have "Start time" & "End time" fields. > > How can I create validation rule, to check that "End time" is always later > than "start time"? > > Thanks, > Amir. > >
- Next message: BruceM: "RE: Accounting Database"
- Previous message: Jeff Boyce: "Re: how do i modify a tempate in Access?"
- In reply to: Amir: "Validation rule between 2 fields"
- Next in thread: Amir: "Re: Validation rule between 2 fields"
- Reply: Amir: "Re: Validation rule between 2 fields"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|