Question Showing records this week only

shamal

Registered User.
Local time
Yesterday, 22:55
Joined
Sep 28, 2013
Messages
86
Hi....
Report shows sales during the period
How are records show this week only

Note that the week starts on Sunday and ends the day Saturday
 

Attachments

  • o.jpg
    o.jpg
    48.7 KB · Views: 87
select * from yourTable where Date_Sele Between dateadd("d",(datepart("w",date)*-1)+1,date) And dateadd("d",(datepart("w",date)*-1)+7,date)
 
select * from yourTable where Date_Sele Between dateadd("d",(datepart("w",date)*-1)+1,date) And dateadd("d",(datepart("w",date)*-1)+7,date)


Hi......
I hope the application on the attached example
 
select * from yourTable where Date_Sele Between dateadd("d",(datepart("w",date)*-1)+1,date) And dateadd("d",(datepart("w",date)*-1)+7,date)

Hi....
Report shows sales during the period
How are records show this week only
 

Attachments

please review Query1 on attached db.
 

Attachments

Hi...
I am thank you very much, great idea

How can this month, records show., please.
 
here again, view qrySalesThisMonth.
 

Attachments

Users who are viewing this thread

Back
Top Bottom