November 12, 2007, 12:07 AM
Deepa497Parameter 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
November 12, 2007, 08:57 AM
PBrightwellDeep,
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.
November 12, 2007, 10:05 AM
GinnyJakesDeepa,
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.