Focal Point
[Solved] How to determine if report run by Report Caster

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9027074006

March 17, 2011, 04:04 PM
Rick Man
[Solved] How to determine if report run by Report Caster
Is there a 'majic' way?
I want one fex that can be run on-demand or through report caster. I could set a variable but wondered if there was another way.

This message has been edited. Last edited by: Rick Man,


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
March 17, 2011, 04:21 PM
Francis Mariani
Have you tried
-? &
and compared the available Dialogue Manager variables? I'm sure one of the system variables would be different or missing in the RC run...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 17, 2011, 04:49 PM
Rick Man
Looks like the &FOCFOCEXEC will do it. Thanks Francis.

-? &
-SET &WHO = IF &FOCFOCEXEC = 'RCASTER' THEN 'RCASTER' ELSE 'MRE';
-TYPE &WHO


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF