Hi all,
In my current project, I open other forms from within my 'Parentform'.
In this parentform, dates of the selected forms are queried. Each time,
the parentform (frmParentForm) is minimized (DoCmd.Minimize) when a
'subform' is openend. When the report for the specific date is
completed, I close the subform by a close button:
Private Sub btnClose_Click()
On Error GoTo Err_btnClose_Click
DoCmd.Close
DoCmd.OpenForm "frmParentForm", acNormal (**)
Exit_btnClose_Click:
Exit Sub
Err_btnClose_Click:
MsgBox Err.Description
Resume Exit_btnClose_Click
End Sub
When the parentform is shown again, the last report date is not yet
displayed. How can I easily refresh the parentform after it is opened? (**)
Thanks in advance,
Kurt.