G
Guest
I am having problems with changing the caption of a report in code. The
return error message is "Type Mismatch". Below is a sample of my code:
DoCmd.OpenReport "SL_Rebate_Statement_List_Combined", acViewDesign
Reports!SL_Rebate_Statement_List_Combined.Caption = strReportName & " " &
QtrSel & " - " & Date
DoCmd.Save
The type mismatch appears on the Reports! line. This should work. Could it
be an issue with the libraries?
Someone please help!
return error message is "Type Mismatch". Below is a sample of my code:
DoCmd.OpenReport "SL_Rebate_Statement_List_Combined", acViewDesign
Reports!SL_Rebate_Statement_List_Combined.Caption = strReportName & " " &
QtrSel & " - " & Date
DoCmd.Save
The type mismatch appears on the Reports! line. This should work. Could it
be an issue with the libraries?
Someone please help!