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!

query between two dates

Status
Not open for further replies.

qwertnard

Technical User
Dec 10, 2014
1
US
Hello, I am trying to query data from a business objects universe. This report is being run on a monthly basis. I need to query from the first of the month three years ago to the last day of the previous month for the current year. The below is the code I tried to create. It did not work and for those of you observant enough. The Calendar year object and Calendar Month number are in a numeric format. I do have access to some date formatted objects.

=(Incident Count) Where ((([Calendar Year Number (yyyy)]*100)+[Calendar Month Number]) <=Max((([Calendar Year Number (yyyy)]*100))+[Calendar Month Number]))and ((([Calendar Year Number (yyyy)]*100)+[Calendar Month Number]) >=Max((([Calendar Year Number (yyyy)]*100))+[Calendar Month Number]))-300

Any Help would be appreciated thanks

-Qwertnard
 
Hi,

This is a Microsoft Access forum, not Business Objects.

The BO report filter syntax I've used don't look like what you posted the a WHERE in the filter???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top