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

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

Guest

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
 
Kostas

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