Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] how to get the data from table and html ?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] how to get the data from table and html ?
 Login/Join
 
Gold member
posted
Q1.

TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS XSQLOUT
END
-RUN

the result is

C1 C2 C3
a1 a2 a3
b1 b2 b3
c1 c2 c4


how can i use the XSQLOUT get the [b2]

use this : -SET &TEST1 = ....


Q2. how can get the html value from fex file ?

eg. html
<_select name=test1>
<_option value=1>a<_/option>
<_option value=1>b<_/option>



in fex
-SET &TEST1 = .... get [a]


Thanks,
Yang

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
 
Posts: 97 | Registered: August 18, 2009Report This Post
<JG>
posted
Yang do a search on the forum, there are many examples
 
Report This Post
Gold member
posted Hide Post
thanks JG,

I searched ...i think my key not exact
(get data ,get data from html ...)
i try again...

Thanks,
Yang


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
 
Posts: 97 | Registered: August 18, 2009Report This Post
Gold member
posted Hide Post
can anybody help me?


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
 
Posts: 97 | Registered: August 18, 2009Report This Post
Expert
posted Hide Post
Please explain what you would like to do a little more clearly.

Do you want to create option values for a select list form object?

One method:
SET HOLDLIST=PRINTONLY

TABLE FILE CAR
PRINT
COMPUTE OPT1/A100 = '<OPTION VALUE="' || COUNTRY || '">' || COUNTRY || '</OPTION>';
BY COUNTRY NOPRINT
ON TABLE SAVE AS S001
END
-RUN

-HTMLFORM BEGIN
<FORM>
<SELECT>
!IBI.FIL.S001;
</SELECT>
</FORM>
-HTMLFORM END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
to Francis Mariani
thank your reply

you method is put the data in the html...

my mean is :

the result is

Column1 Column2 Column3
a1 a2 a3
b1 b2 b3
c1 c2 c4


i want get the value [a2] with XSQLOUT

the code like this :-SET &TEST1 = ....


Thanks
Yang


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
 
Posts: 97 | Registered: August 18, 2009Report This Post
Expert
posted Hide Post
SET HOLDLIST=PRINTONLY
SET HOLDFORMAT=ALPHA

TABLE FILE CAR
SUM
WEIGHT/D6
HEIGHT/D6
BY COUNTRY
ON TABLE HOLD AS XSQLOUT
END
-RUN

-REPEAT ENDREP1 FOR &COUNTER FROM 1 TO &LINES
-READ XSQLOUT &CA.&COUNTER.A10. &CB.&COUNTER.I6.  &CC.&COUNTER.I6.
-ENDREP1

-? &C


???


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
thanks Francis Mariani

i'm trying...



Thanks,
Yang


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
 
Posts: 97 | Registered: August 18, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] how to get the data from table and html ?

Copyright © 1996-2020 Information Builders