Focal Point
HTML Composer

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

September 17, 2010, 03:16 PM
<AMCKELPH>
HTML Composer
I need the best way to bind a checkbox input control with a parameter in the HTML Composer tool that is passed to a focexec report which is called from the HTML page.
September 17, 2010, 08:49 PM
Doug
1) Start with a -DEFAULT value and a -TYPE for "that" variable...
2) Open the HTML composer...
3) Add a button to the layout...
4) Create a hyperlink for that button which executes the pre-mentioned fex and assign that variable to a Check Box (control)...
5) Run the HTML...
6) Check that check box...
7) Click that button...
8) See the value for that variable...
9) GOTO step 6 and change the value of that check box, repeat 7-9 till you're satisfied...
10) Enjoy what the GUI just did for you. that is, it bound that check box to that variable...
11) RTFM (Read the Focus Manuals) and find out more. There's a lot more to do then this...

That's what it's all about.

This message has been edited. Last edited by: Doug,
September 22, 2010, 04:25 PM
<AMCKELPH>
Thanks Doug....I have really done that. I really do not know if the source of my problem may be something else. I'm getting the message "Unknown error occurred. Agent on reporting server EDASERVE may have crashed. Please investigate reporting server log". I get this when I call the report from the HTML page within HTML Composer.
September 23, 2010, 02:51 AM
GamP
Then it looks like the problem is within your fex.
Edit it and put the following two lines at the top:
-? &
-EXIT
This will give you every defined & variable that is available to your fex and you can check if the correct value has been propagated. Besides that it will show if the problem is indeed within your fex (this is the case when you get the expected list of variables) or somewhere else (if you don't).


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
September 27, 2010, 11:59 AM
<AMCKELPH>
Can I see the SET variables as well with this command?