I’v never seen calling a form and specifying the relationship with it, is that possible? We use a lot of related FIDs, the way we do it it make the FID based on the same parent table as a container and place the related form in a tabpanel in it, specifying the relation in the tab.
msedita:
I’v never seen calling a form and specifying the relationship with it, is that possible? We use a lot of related FIDs, the way we do it it make the FID based on the same parent table as a container and place the related form in a tabpanel in it, specifying the relation in the tab.
Michael - that would be an approach but it seem illogical to have to place a form in a tab on an otherwise blank form to get the related data (its a global relationship BTW).
I suspect another way would be to load the foundset for the FID to match what I need in the relationship (one criteria in a global). But again seems like two steps where one should suffice?
Kahuna:
I suspect another way would be to load the foundset for the FID to match what I need in the relationship (one criteria in a global). But again seems like two steps where one should suffice?
No this is exactly how you do it. If you want to show a specific foundset in the FID then you need to load it yourself. Of course there are different techniques of establishing this but in the end it’s your code that gets the proper foundset.
2 possible ways of doing this is where you load the (separate) foundset before you show the FID or you use a onShow event on the form that uses the global as criteria to load the proper foundset.