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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do Rules work?

Status
Not open for further replies.

jararaca

Programmer
Jun 1, 2005
159
US
Hi--

I routinely create constraints in my database tables, e.g., EndDate >= StartDate, etc. But I don't know of a way to create a constraint that works across tables. For example, let's say I have a 1:Many relationship between these two tables:

Admission(AdmitID (PK), AdmitDate,...)
Payer(PayerID (PK), AdmitID (FK), AuthDate,...)

And I want to make sure that the AuthDate is >= Admit Date. Can I use Rules for this type of thing? How would I do it?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top