Which file needs the relationships?
Posted: Thu Sep 02, 2010 2:54 pm
Hi John:
I've added two tables to my data file: Rxs and ContactRxs. I've done that because I want to track which medications (Rx's) a patient is taking at any given time.
I relate Rxs to ContactRxs as follows:
Rxs::id = ContactRxs::Rx_id
And I related Contact Rxs to Contacts as follows:
ContactRxs::Contact_id = Contacts::id
Now, to display a portal showing current medications on the Contacts layout, I add these two 2 TO's, with the above-described relationships, to the Complete (interface) file's graph.
My question is this: does my SeedCode Data (data) file also need to contain those two TO's with the same relationships?
Yours,
Jim
I've added two tables to my data file: Rxs and ContactRxs. I've done that because I want to track which medications (Rx's) a patient is taking at any given time.
I relate Rxs to ContactRxs as follows:
Rxs::id = ContactRxs::Rx_id
And I related Contact Rxs to Contacts as follows:
ContactRxs::Contact_id = Contacts::id
Now, to display a portal showing current medications on the Contacts layout, I add these two 2 TO's, with the above-described relationships, to the Complete (interface) file's graph.
My question is this: does my SeedCode Data (data) file also need to contain those two TO's with the same relationships?
Yours,
Jim