ITUngaBunga
IS-IT--Management
Cognos Impromptu (Version 7.1.724.0)
Hi
I'm creating a macro to open, run and export an Impromptu report - no problems here.
My problem lies with the report itself - I'm trying to set the query criteria so it filters on the field [InvoicedOn] to be between Date-9 and Date-3
Example being - my report opens on a Monday 15th Jan 2007, it will be filtered for records that have an InvoicedOn date of between 06/01/2007 and 12/01/2007.
I'm having great difficulty getting this work in my report - coming from an Access background I'm inclined to beleive that this is soooo simple I'm really not doing something right!
When I build the query criteria using any of the Date functions, it hardcodes the date in the criteria. I'm wanting the criteria to be 9 days and 3 days from the days date - I'm just not getting this....
:-((
Can this be actually done this way, or do I have to have the macros supply the criteria to the report?
Can anyone point me in the direction to achieving my dynamic date criteria.
Thanks in advance.
Phil
Hi
I'm creating a macro to open, run and export an Impromptu report - no problems here.
My problem lies with the report itself - I'm trying to set the query criteria so it filters on the field [InvoicedOn] to be between Date-9 and Date-3
Example being - my report opens on a Monday 15th Jan 2007, it will be filtered for records that have an InvoicedOn date of between 06/01/2007 and 12/01/2007.
I'm having great difficulty getting this work in my report - coming from an Access background I'm inclined to beleive that this is soooo simple I'm really not doing something right!
When I build the query criteria using any of the Date functions, it hardcodes the date in the criteria. I'm wanting the criteria to be 9 days and 3 days from the days date - I'm just not getting this....
:-((
Can this be actually done this way, or do I have to have the macros supply the criteria to the report?
Can anyone point me in the direction to achieving my dynamic date criteria.
Thanks in advance.
Phil