M
Mrstacy
Any help is appreciated. When I use the code similar to the Northwind
example, the report does not open all the way. the heading shows up,
but the screen is gray. Thanks in Advance.
Access 2003
Windows XP
This code is for the Report Open event:
Private Sub Report_Open(Cancel As Integer)
On Error GoTo Err_ReportOpen
blnOpening = True
DoCmd.OpenForm "Frm_Date_Range", , , , , acDialog
If Not CurrentProject.AllForms("Frm_Date_Range").IsLoaded Then
Cancel = True
End If
blnOpening = False
Exit_ReportOpen:
Exit Sub
Err_ReportOpen:
MsgBox Err.Description
Resume Exit_ReportOpen
example, the report does not open all the way. the heading shows up,
but the screen is gray. Thanks in Advance.
Access 2003
Windows XP
This code is for the Report Open event:
Private Sub Report_Open(Cancel As Integer)
On Error GoTo Err_ReportOpen
blnOpening = True
DoCmd.OpenForm "Frm_Date_Range", , , , , acDialog
If Not CurrentProject.AllForms("Frm_Date_Range").IsLoaded Then
Cancel = True
End If
blnOpening = False
Exit_ReportOpen:
Exit Sub
Err_ReportOpen:
MsgBox Err.Description
Resume Exit_ReportOpen