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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting variable value

Status
Not open for further replies.

alh1002

Technical User
Mar 27, 2006
41
US
I am making a query up to a certain date, I want to then have that End date as a result in the query (note everything is aggregate functions, so all the other things are summing, multiplying to get single values from table) I just want the query to also return the date value as well as my aggregrate functions

here is last part of what I am dealing

FROM tblPerformance
WHERE tblPerformance.ladder_date<=[Enter End Date]
 
If you are working with SQL, just add [TT][Enter End Date][/TT] to the list of fields. If you need it to be called something else, say [TT][Enter End Date] AS [Final Date][/TT].

If yo are working in the Query Designer, add a column [TT][Final Date]:[Enter End Date][/TT].

Geoff Franklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top