Thanks for the info on this post... it pointed me in the right direction. I found that you can set a default value for an OLAP dimension and turn the heading on:
1. Run the report with the filter values you want to use as defaults. Use the OLAP panel to turn on the headings.
2. View the page source.
3. Copy the generated IF statement(s) and put it/them in the same location as the generated code. Mine looked like this:
IF BenElStatusDescription EQ 'Eligible'
4. Copy the section that has your generated header, inlcuding the comments. Paste them into the same location in your procedure. Mine looked like this:
/*_FROM_OCP DYNAMIC_HEADING_BEGIN END_OCP_*/
"IF BenElStatusDescription EQ 'Eligible'"
/*_FROM_OCP DYNAMIC_HEADING_END END_OCP_*/
5. Turn on the dynamic heading. Mine went right underneath the -OLAP ON command:
-OLAP ON
OLAP GUI=DYNAMIC_HEADING ON
I ran the report and it pulled up the default filter I wanted and generated the heading. Selecting other values for the BenElStatusDescription filter replaced the default IF statement and report heading.
Hope this helps others out there looking for the same functionality.
Local Development Environment:
WF 7.6.10 on Vista Ultimate 64-bit Edition
Client Environments:
WF 7.1.3, 7.6.4, and 7.6.10 on various Windows Server platforms using servlet implementation over SSL
Oracle and MSSQL DBs
Output formats: HTML, PDF, Excel 2000, XML