Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Find before Add in cListObjEdit
Kevin, et. al.,
Maybe you have run across this scenario before:
I have two 3 business objects, Individual, Patient and Contact
Each Individual is either a Patient or a Contact or Both
Each Patient has one or more Contacts
Each Contact has one or more Patients
I also have a PatientContact table relating Contacts to Patients directly.
When I add a Contact, I always add a PatientContact record, but not necessarily a Contact record. The new Contact may be an existing Contact for other Patients.
A new Contact record is added if the Contact is new to the system or is in the system as an existing Patient.
My Contact page is a cListObjEdit on a page in the Patient Form pageframe. What I need is to call a FindForm after pressing the Add button on the cListObjEdit, then check the FindForm return value to determine if I need to add a Contact record.
Have you ever done anything like this?
If so, could I get the code?
TIA
Rex
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement