Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     passing parameters to html
Go
New
Search
Notify
Tools
Reply
  
passing parameters to html
 Login/Join
 
Member
posted
Hi,

is there any way to pass a field or variable from FEX to HTML.

Thanks in Advance,
-raji
 
Posts: 4 | Registered: May 26, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
hmm, well,sure; that would pretty much be the whole point of webfocus. So perhaps you could be a bit more specific about your request; Why type of variable are you wanting to pass, and do you want your HTML to be just output or do you want to produce another form for input?
You have this basic construct:
-SET &MYHEADER = 'some variable stuff';
TABLE FILE CAR
do stuff
ON TABLE HOLD AS MYTAB1 FORMAT HTMTABLE
END
TABLE FILE CAR
do more stuff
ON TABLE HOLD AS MYTAB2 FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
[ HTML>
[ HEAD>
..do whatever you want here
[ /HEAD>
[ BODY>
...write whatever else you might want here
< P> &MYHEADER < /P>
< TABLE> < TR> < TD>
!IBI.FIL.MYTAB1;
< TR> < TD>
!IBI.FIL.MYTAB2;
< /TABLE>
[ /BODY>
[ /HTML>
-HTMLFORM END
...so you can even write out a form, complete with submit button and the whole works, populating it with stuff from the first fex, and launching some other fex you determine. You can write your output HTML page anyway you need to.
Any help?
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
<wwmyers>
posted
Please note that6 the HOLD file name must be 8 chracters or less. We had problems when the file name was longer. Look at the Summit 2004 conference page http://www.informationbuilders.com/events/summit/agenda_track.html "Technical: WebFOCUS Applications in Use" and "Agile Methods..." page 22 - 37 for details of our process. It shows how to make a lot of your code reusable and your reports executable from many different sources.
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     passing parameters to html

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.