Setting the control source for a texbox on a rpt

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you change the control souce for a text box using VBA Code on a
report. It seems to be different to that of a form.

Thanks
 
Ian said:
How do you change the control souce for a text box using VBA Code on a
report. It seems to be different to that of a form.

Thanks

You can use a TextBox with NO ControlSource and then set the Value in code
in most any event. If you actually need to change the ControlSource you can
only do that in the report's Open event.
 
Back
Top