Focal Point
Parameter passing from HTML page to a Webfocus report

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

November 12, 2007, 12:07 AM
Deepa497
Parameter passing from HTML page to a Webfocus report
Hi,

I have created a HTML page and user has to choose certain option. Based on it a fex file has to be opened and values should be retrieved based on values selected on HTML page.
Could anyone help me in passing parameters from HTML to fex file?

Thanks


WebFocus 7.1.4, Windows Server 2005 , HTML/EXL/PDF
November 12, 2007, 08:57 AM
PBrightwell
Deep,

When you create the field on the HTML screen you give it a name. That becomes an amphere variable in the program. ie name=FIELD1 in HTML becomes &FIELD1 in the program. The value for &FIELD1 is whatever is selected from a drop down list or entered in a text box (check box, radio button, etc). Unless you are doing a report with dynamic column names, give your fields meaningful names and use the same names consistently in your programming it will make maintenance much easier.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
November 12, 2007, 10:05 AM
GinnyJakes
Deepa,

Please add your configuration to your signature in your profile.

The easiest way to do what you ask is to use (depending on your release) the Resource Layout Painter or the HTML Layout Painter to generate your launch page after you create and test your focexec with the amper variable as Pat has so well described above.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google