I have decided to use the edit form and embed a child grid inside rather than use hierarchy. This is my setup:
Provider table and each provide can have one or more contacts.
My main page lists providers, and when I click to edit (or insert) a provider, one of the controls in the form is a subgrid of the contacts. In order to do this, I need to know what the current selected provider is. How can I set or get a variable that would contain the current provider_id and use this in my select statement for the contact table?
Thanks,
Laura
Provider table and each provide can have one or more contacts.
My main page lists providers, and when I click to edit (or insert) a provider, one of the controls in the form is a subgrid of the contacts. In order to do this, I need to know what the current selected provider is. How can I set or get a variable that would contain the current provider_id and use this in my select statement for the contact table?
Thanks,
Laura