Entering parameters and transferring them into a report

Top  Previous  Next

Let's make this example more complicated, to show how to transfer values entered in the dialogue to the report. Modify the dialogue as here:

 

_img278

 

Place a “Text” object containing this text on the report Page1, and set its “AutoWidth” to True:

 

You entered: [Edit1.Text]

 

Preview the report and make sure that the text typed in is successfully displayed in the report. Other objects in the dialogue can be accessed in a similar way. Since each object has a name that is unique within the whole report it can be used anywhere within the same report.