Larry Brister
asked on
MS Access 2003 refresh form on popup form close
My attacjed code looks right.
It opens my popup which I ender some data etc and then close.
However...the underlying form doesn't get refreshed.
It opens my popup which I ender some data etc and then close.
However...the underlying form doesn't get refreshed.
Private Sub btnSubmit_Click()
DoCmd.OpenForm "ClientVisitsPopUp", WindowMode:=acDialog, OpenArgs:=Me.lvClientsNearby.Column(2) & "|" & gbl_VisitClientID & "|" & gbl_NearbyClientID & "|" & Me.gbl_VisitID
Me.refresh
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You might also want to capture the primary key from the record you added, and after the Requery method, use the FindFirst method to move the record pointer to that record.
ASKER