Focal Point
Field Parameter

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

March 23, 2007, 01:41 PM
GeorgeMeng
Field Parameter
Hi Folks,

I have seen a couple demos, but don't know how to do it.

I have a report need to be group by Company or Division, so I want to create a variable, let user pick Company or Division at runtime.

How I can create a procedure with such a variable?

Thanks.


George

WebFocus Developer Studio 7.6.0/BW 3.5/Servlet mode
March 23, 2007, 01:46 PM
Fernando
George,

Create your fex with a variable called SELBY and make it your BY.

TABLE FILE CAR
PRINT
CAR
BY &SELBY
END

Then create a html page with a drop down list and map the parameter SELBY to it. As long as your drop list has values that are field names then it will work.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
March 23, 2007, 02:06 PM
GeorgeMeng
Thanks for your reply.

When I go back to Developer Studio, is there a way I can modify this variable, so user will:

1) See a drop down list box
2) In the drop down list box, there is only "CAR" and "COUNTRY"

Thank you again!


George

WebFocus Developer Studio 7.6.0/BW 3.5/Servlet mode
March 23, 2007, 02:09 PM
GeorgeMeng
My question should be:

In Developer Studio, is there a GUI to help me to limit the fields I want my user to see?

Thanks.


George

WebFocus Developer Studio 7.6.0/BW 3.5/Servlet mode
March 24, 2007, 06:51 AM
AlexU
The "Report Field Variable" (Right click in the Object Inspector) allows you to create a static list of choices.


WF 7703M, XP/Win7, MRE, RC, BID, PMF, HTML, PDF, Excel 2000/7/10