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!

Display query conditions in a form

Status
Not open for further replies.

ianbrown76

Technical User
Sep 13, 2002
22
GB
How do I display the conditions I used for a query in a form?

I have a form that displays values and counts that are calculated from various financial weeks and I'd like to display the weeks [that where used in the query] in the form too.
 
If the weeks were used in the query, they should be directly available:

Open the form in design view.
Open the field list from the tools bar (next to the Tools icon) and simply drag and drop your weeks field onto the form.

MakeITSo

Andreas Galambos
EDP / Technical Support Specialist
Bowne Global Solutions Wuppertal, Germany
(andreas.galambos@bowneglobal.de)
HP:
 
The query calculates total counts and sums based on various criteria, it's not grouped by weeks or anything else.

I was hoping to display the values I used in the 'Where' statement in the form too.

The query looks for number of items sold, value of items sold where the orders sold where in certain weeks.
 
Not directly. You have to also include them in the SELECT statement or assign your weeks - textbox an extra SQL statement (select [weeks] from...)

MakeItSo

Andreas Galambos
EDP / Technical Support Specialist
Bowne Global Solutions Wuppertal, Germany
(andreas.galambos@bowneglobal.de)
HP:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top