G
Guest
When I open a report, I have the report open a form on open to get filter
information from the user. One of the options I want is from the filter form
the abilitlity to cancel the report that opened the form. I have tried the
following:
Dim stDocName As String
stDocName = Me.Rep_No 'Name of Report
DoCmd.Close 'Close the filter form
Reports(stDocName).Cancel = True 'Cancel the report
and it does not work. Please help this is time critical.
Thanks Chris
information from the user. One of the options I want is from the filter form
the abilitlity to cancel the report that opened the form. I have tried the
following:
Dim stDocName As String
stDocName = Me.Rep_No 'Name of Report
DoCmd.Close 'Close the filter form
Reports(stDocName).Cancel = True 'Cancel the report
and it does not work. Please help this is time critical.
Thanks Chris