dynamic caption

S

shank

Is it possible to dynamically fill-in the caption on a report?

What I want is "MyReport" & DatePart("yyyy",Now())

thanks
 
D

Dale Fye

Yes,

Private Sub Report_Open(Cancel as Integer)

me.Caption = "MyReport" & Datepart("yyyy", Now())

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top