dbTalk Databases Forums  

Refreshing

comp.database.ms-access comp.database.ms-access


Discuss Refreshing in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kurt Blom
 
Posts: n/a

Default Refreshing - 11-08-2004 , 10:37 AM






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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.