Setting the control source for a texbox on a rpt

I

Ian

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
 
R

Rick Brandt

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.
 
Top