How to add the value of a textbox into a Title of report

K

Kostas

Hi,
I have a form ("myform") with a textbox ("txtTitle") and command button
("cmdOK"). Let's say that in the text box is written "Hello world!". When I
click on "OK" I get a report (rptCalculations). I want at the top of the
report to have a label (lblTitle) or textbox (txtitle) for title.The title
will be the value of txt1 (e.i Hello world!). I tried

Reports!rptCalculations.txt1.text = txtTitle

in cmdOK_Click() event , but it didn't work. Any Ideas.

Kostas
 
J

Jeff Boyce

Kostas

Try setting the value of the report control in the report, and "pointing"
back to the form.
 

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

Top