DougAtAvalon
Programmer
How do I use code to get the record source of a report and assign it to a string ex:
****************
variable = Me.ReportName
stDocName = Reports![variable].RecordSource
****************
FYI then I will:
DoCmd.OutputTo acOutputQuery, stDocName, acFormatXLS, , False
-Doug
****************
variable = Me.ReportName
stDocName = Reports![variable].RecordSource
****************
FYI then I will:
DoCmd.OutputTo acOutputQuery, stDocName, acFormatXLS, , False
-Doug