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!

DATEPART *Currency Field - not working

Status
Not open for further replies.

BHScripter

Technical User
Aug 26, 2002
159
US
Hello:

I want to take the "mm" datepart of a field and multiply that by a currency field to create a calculated in field in a report.

The following is my formula and I get #error on the report when I run it.

=([SumOfBudget])*(DatePart("mm",[Date]))

Thanks in advance,

Brianna
 
The foul here is the "mm". The datepart function accepts "m" for month.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top