E
emailchrisco
I must be doing something wrong and I'm sure it must be simple but I
can't get it to work.
Using the Report_Open section, I'm trying to set the text of an
unassociated label depending on the current month, like this:
Me.LblThisMonth.Caption = Month(date())
but when I do this and print preview it, the label shows no text, then
if I remove this line, then the text that is in the box on the design
view shows on the print preview. I've tried deleting the text from the
label in design view but then the label itself is deleted from the
report all together, so it seems I have to leave some text in it for it
to stay on the report.
Can someone let me know what I'm doing wrong?
Thanks.
can't get it to work.
Using the Report_Open section, I'm trying to set the text of an
unassociated label depending on the current month, like this:
Me.LblThisMonth.Caption = Month(date())
but when I do this and print preview it, the label shows no text, then
if I remove this line, then the text that is in the box on the design
view shows on the print preview. I've tried deleting the text from the
label in design view but then the label itself is deleted from the
report all together, so it seems I have to leave some text in it for it
to stay on the report.
Can someone let me know what I'm doing wrong?
Thanks.