[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?
ThanksThis 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