refresh of subform

plgii

Registered User.
Local time
Today, 02:09
Joined
Apr 13, 2006
Messages
15
I have a form with one subform that lists trucking loads. The form is set to run modal. There is one button on the form to add new loads which when clicked opens a popup form to enter new load. When you click on the Save button on the popup form it saves load to table and closes taking you back to the Form/subform with list of trucking loads. I have tried various refresh tips to get the new load to show, but I have to close the Form/subform and re-open for the new load to show up. Is there a way I can get the Form/subform to refresh after I click the save button on add load popup form so it shows this new load without the need to close/re-open the Form/subform?
 
Open your popup form with the acDialog argument and have the next line of code Requery the subform.
 

Users who are viewing this thread

Back
Top Bottom