I need to set he value of an Unbound Text field on a report. Since this
report is called from several different forms I can't set it on the report
itself and it doesn't work setting it from the from. Any suggestions
appreciated!
Thanks
DS
Why doesn't it work by setting it from a form?
You really haven't given enough information.
How do we know what you have tried or not tried?
Did you pass the data to the report using the OpenReport openargs
argument? (Access 2000 or newer)
DoCmd.OpenReport "ReportName", adViewPreview, , , , "Some Text here"
and read it in the Report's ReportHeader Format event:
If Not IsNull(Me.OpenArgs) Then
Me!ControlName = Me.OpenArgs
End If