Formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can use the below expression to display orders for the fourth calendar
quarter.

DatePart("q", [OrderDate])=4

The above formula performs the calculation and returns said orders for all
years existing in OrderDate field. If I wanted to use formula to display said
orders for a current year or a particular year such as 2004, how would I do
that?


Thanks in advance.
KP
 
You could add another section to the where clause like:

WHERE DatePart("q", [OrderDate])=4 AND Year([OrderDate]) =Year(Date())
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top