Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Usage Report and Static Parameter in 8.2
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Usage Report and Static Parameter in 8.2
 Login/Join
 
Platinum Member
posted
Everyone,

I might need to check with IBI on this task; however, I'm going to post here as a starting point. I'd appreciate any suggestions.

I'm coding our Usage Report behind the scenes, and I need to pick up a static parameter created on the parameters tab of the html page. I need to pick up the result whenever the user selection for that dropdown box changes. So, for example, I've created a static parameter on the html page with three choices as follows:

1-Sales by Dollars
2-Sales by Units Sold
3-Sales by Salesperson

Inside my fex, I have a IF-THEN statement that looks like this:


-IF &REPORT_TYPE EQ '1' THEN GOTO DOLLARS ELSE IF &REPORT_TYPE EQ '2' GOTO UNITS ELSE GOTO SALESPERSON;  


Each section of the report is, of course, in the fex and separated by the labeled identified above.

In my usage report, I need to know how to pick up the report type and display it.

Will that static parameter be stored in the rml or rmldb tables for me to pick it up somehow?

I need to change my profile, but I'm working in 8.2

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus 8.2.04
WebFocus 8.2.04

 
Posts: 124 | Registered: September 18, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
How does you UsageReport is called ?

Is it an -INCLUDE prior to do anything else in the MyReport fex ?
Something such as
-* MyReport fex

-* Call The Usage Report process
-MRNOEDIT -INCLUDE app/MyUsageReport.fex

-IF &REPORT_TYPE EQ '1' THEN GOTO DOLLARS ELSE IF &REPORT_TYPE EQ '2' GOTO UNITS ELSE GOTO SALESPERSON;

-* Dollars report process
-DOLLARS
…
-GOTO XEXIT

-* Units report process
-UNITS
…
-GOTO XEXIT

-* Salesperson report process
-SALESPERSON
…
-GOTO XEXIT

-XEXIT

If so, it's just another fex that can receive parameters as usual


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2161 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Platinum Member
posted Hide Post
You probably already figured this out, but I should have mentioned this is for a usage report in Resource Analyzer.

If I understand your answer, I ought to be able to call it similar to any other parameter.

So, I ought to be able to code my usage report to pick up report type as an option. I'll try it unless you have a different suggestion.


WebFocus 8.2.04
WebFocus 8.2.04

 
Posts: 124 | Registered: September 18, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
You mentioned :
quote:
I'm coding our Usage Report behind the scenes

and it was my assumption, now your talking about Resource Analyzer, not the same thing. Possible that RA is not knowing your &REPORT_TYPE parameter

I am not using RA, but a home made usage db & report.


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2161 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Thanks for the input.

It sounds as if we might want to check in with IBI on this as it's a custom made usage report using rml and rmldb, not a custom database.

Thanks.


WebFocus 8.2.04
WebFocus 8.2.04

 
Posts: 124 | Registered: September 18, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Usage Report and Static Parameter in 8.2

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.