Conditional relationship

MikeLeBen

Still struggling
Local time
Today, 16:20
Joined
Feb 10, 2011
Messages
187
Consider the following:
relationshipsdiagram.jpg


Clienti_Ricette (Customer_Prescriptions) holds the information for the vouchers of different worths that customers may or may not have/use.

Therefore I'd like to do so that Ordini (orders) be related with Pagamenti_Ricette (Payments_Prescriptions) only when a given order gets paid with the prescription.

How to create such a "conditional relationship"?
Will a Yes/No "Pays_With_Prescription" field linked to IDPagamento (PaymentID) work?
 

Users who are viewing this thread

Back
Top Bottom