Forms and Dynaset

sudar82

New member
Local time
Today, 20:35
Joined
Mar 5, 2015
Messages
1
Hi,

I am amending a friends application for them as the original developer has disappeared. The application is built up of sub forms. There is an Add button on a sub form. Also on this page is a dynamic listbox of policy numbers and below that is a subform which displays the selected policy numbers details. When you select a new policy the details in the sub form change to the matching policy. the problem lies with the Add New Policy feature that opens a new sub form where the user enters the new details and it saves the new records to the database. It adds a new record to the database and the listbox automatically updates but I cannot get the subform below to update until i hit the 'Refresh All' button. The forms use Dynaset to link to the various database tables.

Can anyone please help? Im desperate.
 

Attachments

  • subform.jpg
    subform.jpg
    91.9 KB · Views: 293
  • subform1.jpg
    subform1.jpg
    91.3 KB · Views: 175
Last edited:
try moving or copying the code from the refresh all button to the form afterupdate event
 

Users who are viewing this thread

Back
Top Bottom