Hi,
I'm generating a report (Report1) from a VBA module with:
DoCmd.OpenReport reportname:="Report1", view:=acViewPreview, wherecondition:=strWhere
I have a caption string (strDesc) that I would like to put on the report and on the preview.
I can put the string on the title bar of the preview with:
Reports![Report1].Caption = strDesc
Can anyone please advise how I can put this string in the page header of the report, or in the report header of the report ?
Any advice would be appreciated.
I'm generating a report (Report1) from a VBA module with:
DoCmd.OpenReport reportname:="Report1", view:=acViewPreview, wherecondition:=strWhere
I have a caption string (strDesc) that I would like to put on the report and on the preview.
I can put the string on the title bar of the preview with:
Reports![Report1].Caption = strDesc
Can anyone please advise how I can put this string in the page header of the report, or in the report header of the report ?
Any advice would be appreciated.