Hi. I have a listbox populated with calculated data. I would like to display it on a report but cant seem to reference it from the report.
I have a series of textboxes on the form that I can easily reference from the report by setting the control source of the field in the report to:
=Forms![Form Name]![TextBox Name]
These appear on the report once it is launched from the form using the command:
DoCmd.OpenReport "Report Name", acViewPreview
If I use the same construct on a listbox object in the report it does not work. I guess I am using the wrong syntax when setting the control source:
=Forms![Form Name]!
[Listbox Name]
Please could someone help me get the syntax correct.
Many thanks