LittleMan22
Technical User
Here's what I'm trying to do:
I have a main form which hold's our client's info which contains a bunch of pages (tabs) one of which contains the client's policies (this is actually linked via a subform called frmpolicies). On this main form I can access a pop-up that contains various fields where the user can enter a new policy for the client. This pop-up form has a command button (to exit) and the user is given the option of storing the policy or not...if they chose to store the policy I have code written that will update the client's data under the main table...however, it will not update the underlying form where the policies are stored (maybe because it's a subform?). So the table is being updated, but not the form. I can exit the main form, come back in, and the form will be updated, however, I want the form to be updated as soon as the policy is entered...(i.e. I want it to appear alongside the other client's policies)
How can I get it so that:
forms!frmClients!subformPolicies is updated when the control for this needs to be written into a pop-up form called frmchangepolicy?
Ryan.
I have a main form which hold's our client's info which contains a bunch of pages (tabs) one of which contains the client's policies (this is actually linked via a subform called frmpolicies). On this main form I can access a pop-up that contains various fields where the user can enter a new policy for the client. This pop-up form has a command button (to exit) and the user is given the option of storing the policy or not...if they chose to store the policy I have code written that will update the client's data under the main table...however, it will not update the underlying form where the policies are stored (maybe because it's a subform?). So the table is being updated, but not the form. I can exit the main form, come back in, and the form will be updated, however, I want the form to be updated as soon as the policy is entered...(i.e. I want it to appear alongside the other client's policies)
How can I get it so that:
forms!frmClients!subformPolicies is updated when the control for this needs to be written into a pop-up form called frmchangepolicy?
Ryan.