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!

How do you use the Dayoftheweek variable?

Status
Not open for further replies.

mudflap

MIS
Feb 14, 2002
194
CA
I am trying to make a formula that allows me to add up the sales for monday. Then copy that formula for each day of the week.

But I am unable to figure out the syntax for the day of the week variable.

Ie.

If (opendate) = dayoftheweek [2] then

Is this the correct syntax.
Opendate is field I use.
2 being monday.

Thanks
Peter
 
Hi Pete,

If DayOfWeek({OpenDate}) = 2
Then
...

Naith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top