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!

Forcing a field in a report

Status
Not open for further replies.

ammujr

MIS
Nov 18, 2003
11
US
ammujr (MIS) Nov 18, 2003
Hi,
I was wondering if I could force a field in a report.

Let me explain, I have a report that is based off a query( Product survey letter). The query is set to ask me which sales order number, it then inserts the the relevant information into the letter for the customers (like there name, the sales order # , todays date).

There is a form that allows me to update and search through the list of Sales orders. I added a command button on the form that allows me to preview the Survey letter. But when i press the button it asks me to for the sales order number. I was wondering if I could force the report to use the sales order number that is already displayed on that form.

Thank you, I hope it makes sense
 
Yes in the report query criteria use
Forms![YourForm]![YourField]

Hope this helps.

Regards
Warwick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top