Sometime in the past, this database was written with 10 similar reports; each highlighting one label by shading. The only other difference is the Titles. Changing the titles in the Open event of the report is easy. Choosing a label to highlight is proving harder.
I have built a Master Report and plan to change the Title and the highlighted label “on the fly.”
theCurrentTitle = "Buy/Sell Code-Options Validation Report" Title2Text = "Report for Trade Codes: 3, 4 , 5, 6, D, E, F, G" HighlightLabel = Reports("rptmaster").xxxx 'Problem here ' DoCmd.OpenReport "rptBuySellCode_Options", acViewPreview, "", "", acNormal DoCmd.OpenReport "rptMaster", acViewPreview, "", "", acNormal
Suggestions?