Here’s the scenario:
-
Two tables A and B. B has a foreign key related to A’s primary key in a one-to-many relationship A to B.
-
I search in A and get a specific foundset. I then want to be able to go to a form attached to B and look at ALL records in B that relate to the foundset in A.
How do I do this? If I use controller.showRecords(A_to_B) to load the records into the form attached to B, I (of course) only see the 1 record that relates to the current record in A.
Is there a way of passing the pk’s that are in A’s foundset to the fk’s in B to get this to work?
Thanks!