Focal Point
[SOLVED] Auto Populating an .htm field from a .fex

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

July 02, 2014, 09:59 AM
J.Biza
[SOLVED] Auto Populating an .htm field from a .fex
I have an .htm being executed within a .fex. I created a variable within the .fex that I want to automatically populate a field in the .htm. Any ideas on how to get this to work?

Thanks

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7703
July 02, 2014, 10:36 AM
diogopc
quote:
Originally posted by J.Biza:
I have an .htm being executed within a .fex. I created a variable within the .fex that I want to automatically populate a field in the .htm. Any ideas on how to get this to work?

Thanks


Imagine your variable is called &JBIZA_VAR, this is how you reference it from the .htm:

!IBI.AMP.JBIZA_VAR;



WebFOCUS App Studio 8103
Windows7
All outputs
July 02, 2014, 10:50 AM
J.Biza
how do I identify the variable in the .fex? This is how I created my variable.

-READ SQLPASS &BID.A7.

-HTMLFORM tk_comm_log_launch_test2.htm
-RUN


WebFOCUS 7703
July 03, 2014, 09:43 AM
Pravin.Singh
You can use the variable as !IBI.AMP.BID anywhere in the html file.


WebFOCUS 7703
Windows, All Outputs
pravinsinghwebfocus.blogspot.com
July 03, 2014, 11:29 AM
Tony A
Don't forget the trailing semi-colon -

!IBI.AMP.BID;

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
July 04, 2014, 01:11 AM
Rifaz
Hi J.Biza,

Refer this post.

Passing parameters by URL in HTML Composer


-Rifaz

WebFOCUS 7.7.x and 8.x
July 16, 2014, 10:57 AM
J.Biza
This worked. Thanks for all of the help.


WebFOCUS 7703