Requery form after making changes in another form (1 Viewer)

Sketchin

Registered User.
Local time
Yesterday, 23:43
Joined
Dec 20, 2011
Messages
575
I have a form that shows a companies engagement with our company. If someone wants to edit the details of that company (address phone number etc...), they click the "edit" button, which then opens a form where edits can be performed.

After the edits are done, the user clicks a save and close button which runs docmd.runcommand acCmdSaveRecord, and returns to the companies engagement form.

When I return to the company engagement form, I would like to see the companies information reflect the changes that I just made. Currently, I can only do this by exiting the form and re-opening. I have tried using Me.Requery in the OnGotFocus, Activate and Current events to no avail.

I should mention that I have a company combo box with multiple columns that are used to display address, postal code, etc... in textboxes on the same form.
 

Isskint

Slowly Developing
Local time
Today, 07:43
Joined
Apr 25, 2012
Messages
1,302
I would do the requery in the edit form code after the saverecord
 

Users who are viewing this thread

Top Bottom