Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding user notes to a report

Status
Not open for further replies.

LHWC

Technical User
Apr 29, 2004
52
US
How do I add user inputted text to a report?

Thanks in advance.
 
No, I just would like the ability to add some notes to a report. The text doesn't have to become a record. It would just print on the report.
Ideally, upon opening the report, a msgbox opens that says, "Would you like to change the Global Specs?" It should display the current text and allow the user to edit it. An OK cmd button closes the msgbox and loads the new text into the textbox on the report.
Thanks for the help!
 
Hi
Easiest way to do this, create a form (MyForm), include on the form a button to run the report (wizard will guide you through this). Include also a text box control (txtNotes)

In the report in the onformat event of the section which contains the notes put code like so

If IsNull(Forms!MyForm!txtNotes) Then
Else
txtGlobalSpecs = Forms!MyForm!txtNotes
End if

Note Form must be open when report runs for this to work
I am assuming txtGlobalSpecs is the name of the control in the report

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top