Greetings,
I was wondering if it is possible to programmatically change the caption of a label on an Access report? For instance, I am attempting to use the following code to change the caption of a label (on a report). I receive no error message during execution, but the caption of the label never changes. Is this even possible?
Code:
strCaption = "Tasks due for the date of : " & Now()
Reports("rptPrintTasks").Controls("lblTasksDue").Caption = strCaption
Thanks in advance!
hsp7777
I was wondering if it is possible to programmatically change the caption of a label on an Access report? For instance, I am attempting to use the following code to change the caption of a label (on a report). I receive no error message during execution, but the caption of the label never changes. Is this even possible?
Code:
strCaption = "Tasks due for the date of : " & Now()
Reports("rptPrintTasks").Controls("lblTasksDue").Caption = strCaption
Thanks in advance!
hsp7777