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!

Calc Previous YTD values

Status
Not open for further replies.

FABIS

IS-IT--Management
Sep 4, 2003
6
US
I am trying to create a starting point to calc the current YTD totals verses the previous YTD totals. I have tried using the 'Today', 'Curdate' and 'Now' function, but cannot strip off the year or Month from these functions. When I use [year(Curdate())] I get the following: "The function curdate is not available as an external, database or built-in function". Is there another way to come up with the system current month and year without a Prompt?
 
I do not know about the Curdate() function but year(Now()) and month(Now()) should strip away the year and month. This always works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top