Open Event in Report

D

Daniel

Can I manipulate the report title in the Open Event?
Sometimes I want to let one of the fields in the query
dictate the title, but there are times I need to override
that. When I try to assign a value to Me!txtTitle, it
says I cannot assign a value to "[vertical line]" .

Thanks

Daniel
 
A

Allen Browne

Report_Open is too early to read values from the report's records or assign
values to the report's controls. Try the Format event of the Report Header
section for this kind of activity. (View menu if you don't see a Report
Header section).
 
Top