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!

Formula to calculate starting date as the previous Monday

Status
Not open for further replies.

hsandwick

Programmer
Sep 10, 2001
286
US
Crystal Reports 9

If I run a report today, today could be a Wednesday or a Friday of a given week, I want to see all results from the Monday of the previous week onwards. Is there a quick formula for this, please?

Thanks so much,

Helen
 
Try:

{table.date} in currentdate-dayofweek(currentdate)-5 to currentdate

-LB
 
Hi !

Here is one way:
{table.date} >= minimum(LastFullWeek)+1

/Goran
 
Hello, lbass and goranm:

Both of your ideas worked beautifully - thank you so much!

Helen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top