stormin_norm
Registered User.
- Local time
- Today, 01:30
- Joined
- Apr 23, 2003
- Messages
- 213
I have a popup form, whose result value is used on a form. I then want to refresh a subform linked to this value.
A requery is not good, because I don't want to prompt the user to update. The refresh/repaint of the subform does not work well.
In Main Form:
DoCmd.OpenForm strPopupForm, WindowMode:=acDialog
If IsFormOpen(strPopupForm) Then
Me![High School ID] = Forms(strPopupForm).lbSchool
DoCmd.Close acForm, strPopupForm
' Me.Repaint
' Me.High_School_SubForm.Refresh
End If
Me![HS Type].SetFocus
Thanks!
Norm.
A requery is not good, because I don't want to prompt the user to update. The refresh/repaint of the subform does not work well.
In Main Form:
DoCmd.OpenForm strPopupForm, WindowMode:=acDialog
If IsFormOpen(strPopupForm) Then
Me![High School ID] = Forms(strPopupForm).lbSchool
DoCmd.Close acForm, strPopupForm
' Me.Repaint
' Me.High_School_SubForm.Refresh
End If
Me![HS Type].SetFocus
Thanks!
Norm.