Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing report label in VBA - can this be done? 1

Status
Not open for further replies.

davidfc

Programmer
Jun 21, 2004
2
GB
Whats the syntax for changing Caption property of a Report label after the report is open?

I have tried:
DoCmd.OpenReport "ReportName", acPreview
Reports!ReportName.Label28.Caption = "To:" & David"
but the report shows just the original default value of "To:"

I'd be grateful for any suggestions.....
 
Try using the on open event of the report, or the on format event of the section where the label resides.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top