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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top