G
Guest
Hi all,
I have a relatively simple report that has to call 2 forms to get my input.
If the user hits the close button on the subform - how do I know that from
the report level? I.E. how do I : ' Check to see if form is cancelled -
and quit if so
Thanks, Rusty
Private Sub Report_Open(Cancel As Integer)
DoCmd.OpenForm "Report Date Range", , , , , acDialog, "Report Date Time
Range"
If Not IsLoaded("Report Date Range") Then
Cancel = True
End If
' Check to see if form is cancelled - and quit if so
DoCmd.OpenForm "Report Files", , , , , acDialog, "Enter Report Number Of
Files"
If Not IsLoaded("Report Files") Then
Cancel = True
End If
' Check to see if form is cancelled - and quit if so
End Sub
I have a relatively simple report that has to call 2 forms to get my input.
If the user hits the close button on the subform - how do I know that from
the report level? I.E. how do I : ' Check to see if form is cancelled -
and quit if so
Thanks, Rusty
Private Sub Report_Open(Cancel As Integer)
DoCmd.OpenForm "Report Date Range", , , , , acDialog, "Report Date Time
Range"
If Not IsLoaded("Report Date Range") Then
Cancel = True
End If
' Check to see if form is cancelled - and quit if so
DoCmd.OpenForm "Report Files", , , , , acDialog, "Enter Report Number Of
Files"
If Not IsLoaded("Report Files") Then
Cancel = True
End If
' Check to see if form is cancelled - and quit if so
End Sub