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

Trying to filter for YTD with yyyymmdd

Status
Not open for further replies.

dmccallum

Programmer
Jan 5, 2001
90
US
I have a database where del_date is a string in the format of yyyymmdd but I need to sum a field for YTD. How can I convert my date so that it is recognized by the YTD function? I've tried:

WHERE (Del_Date = 'jobcost".del_date} in YearToDate')

among other ways.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top