here’s a doco i have that you might find useful - it allows you to add “*” for all in prompts (and if you publish the report with *'s in all fields, that will be the default value, and users will only have to change the ones they want)… let me know if you have questions after looking at the doco…
actually can’t figure out how to attach doco’s here so i’m going to cut and paste below:
@Prompt Definitions in Designer
- Here’s how to create a pre-defined prompt that uses a ‘*’ for all in a character field:
@Select(Settlement Details\Settlement Action Type) IN @Prompt(‘Settlement Action Type(s): (Use * to select all.)’ , ‘A’ ,‘Settlement Details\Settlement Action Type’ ,multi,free) OR ‘*’ IN @Prompt(‘Settlement Action Type(s): (Use * to select all.)’ , ‘A’ ,‘Settlement Details\Settlement Action Type’ ,multi,free)
- Here’s how to create a pre-defined prompt that uses a ‘*’ for all in a date field:
TRUNC(ICIS_ENF_CONCLUSION_SETTLE.SETTLEMENT_LODGED_DATE) =
TRUNC(TO_DATE(@Prompt(‘Settlement Lodged Date (MM/DD/YYYY): (Use * to select all.)’ , ‘A’ , , mono , free),‘MM/DD/YYYY’)) OR ‘*’ =
@Prompt(‘Settlement Lodged Date (MM/DD/YYYY): (Use * to select all.)’ ,
‘A’ , , mono , free)
- Here’s how to create a pre-defined prompt that uses a ‘*’ for all in a numeric field:
TO_CHAR(TIME_DIMENSION_SETTLE_LODGED.FISCAL_YEAR) IN @Prompt(‘Settlement Lodged Fiscal Year: (Use * to select all.)’,‘N’,‘Settlement
Details\Settlement Lodged Fiscal Year’ , multi , free) OR ‘*’ IN
@Prompt(‘Settlement Lodged Fiscal Year: (Use * to select all.)’,‘A’
,‘Time Dimension\Fiscal Year’ , multi , free)
- You also need to create a separate object to be used for your LOV (If you are using one). Notice that I am referencing two different objects as the LOV. The second object ‘Time Dimension\Fiscal Year’ needs to have the following in the select statement:
TO_CHAR(TIME_DIMENSION.FISCAL_YEAR,‘YYYY’)
- Here’s how to create a pre-defined prompt that uses a ‘*’ for all in a date range:
(’’= ANY @Prompt(‘Settlement Lodged Date From (MM/DD/YYYY): (Use * to select all.)’ , ‘A’ , , mono , free) OR
TRUNC(ICIS_ENF_CONCLUSION_SETTLE.SETTLEMENT_LODGED_DATE) >= TRUNC(TO_DATE(@Prompt(‘Settlement Lodged Date From (MM/DD/YYYY): (Use * to select all.)’ , ‘A’ , , mono , free),‘MM/DD/YYYY’))) AND ( '’ = ANY @Prompt(‘Settlement Lodged Date To (MM/DD/YYYY): (Use * to select all.)’ , ‘A’ , , mono , free) OR
TRUNC(ICIS_ENF_CONCLUSION_SETTLE.SETTLEMENT_LODGED_DATE) <= TRUNC(TO_DATE(@Prompt(‘Settlement Lodged Date To (MM/DD/YYYY): (Use * to select all.)’ , ‘A’ , , mono , free),‘MM/DD/YYYY’)) )
BOzilla (BOB member since 2002-08-29)