General information
Category:
The Mere Mortals Framework
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only