Dan,
Indeed you can set a control's value on a form from outside the form, in
the way you say (note: tables have fields, forms have controls which may
- or may not - be bound to table fields), as long as the form is open.
In a report, though, it does not work in the same way; once a report is
opened, there is no way you can make changes from outside the report.
You can, though, do certain things from within the report, by executing
code on specific events such as, report open, section format or print
etc. Check out the events tab of properties for the form abd sections
objects. For instance, if you want to set the value of a control in the
detail section, you can use the detail section's Format event to do it,
like:
Me.ControlX = ...
HTH,
Nikos
Is it possible to set the value of a report. I know you can do this with a
form with something like:
Form![Form Name]![field] = ....
Can I do this with a report?