S
Sam
I am trying to open and populate a report from a form:
DoCmd.OpenReport "rptHPTemp", acViewPreview
Set rpt = Reports!rptHPTemp
rpt!HxP = Me.ClinNote
The control HxP is unbound and when I step through this, rpt!HxP does show
the data is passed from Me.ClinNote. When I view the report, HxP is blank. I
have looked for a way to refresh the report but can't find anything. When I
close and reopen the report, HxP is appropriately populated with the data.
How can I refresh the report without closing and opening?
Thanks,
Sam
DoCmd.OpenReport "rptHPTemp", acViewPreview
Set rpt = Reports!rptHPTemp
rpt!HxP = Me.ClinNote
The control HxP is unbound and when I step through this, rpt!HxP does show
the data is passed from Me.ClinNote. When I view the report, HxP is blank. I
have looked for a way to refresh the report but can't find anything. When I
close and reopen the report, HxP is appropriately populated with the data.
How can I refresh the report without closing and opening?
Thanks,
Sam