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     [CLOSED] Problem - Accesing FOCUS Table as datasource For a List Box - Urgent

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Problem - Accesing FOCUS Table as datasource For a List Box - Urgent
 Login/Join
 
Guru
posted
I am trying to access The FOCUS Hold file created to populate a List box...

But It is not wokring properly... My Dropdwon shows no Data....

My code is as below.


   
-SET &HIDDEN1=123;
-SET &HIDDEN2=234;

APP HOLD baseapp

TABLE FILE CAR
PRINT
CAR
BY CAR
ON TABLE HOLD AS X_CAR FORMAT FOCUS INDEX CAR
END
-RUN

-HTMLFORM BEGIN
<html>
<head>
</head>
<body>
<input type="text" value="!IBI.AMP.HIDDEN1;" id="value1">
<br />
<input type="text" value="!IBI.AMP.HIDDEN2;" id="value2">
<br/>
 <select id="combo21_combo"        name="SEL_PLAN" elementname="listbox31" elementtype="listbox" size="10"
        scaletofit="0" labelid caption="listbox31" datatype="1" addalloption="0" selectalloption="0"
        binddatasourcefpath="X_CAR;" datasource="X_CAR;" datafield="CAR" displayfield="CAR"
        numofrecords="-1" datafieldtype="CHAR" operation="OR">
  </select>
</body>
</html>
-HTMLFORM END




Any issues in it ? Any suggestions ??

I have started this as a new Thread, as this quite Urgent.

Am grateful on any help in this regards. Thanks Much.

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


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Virtuoso
posted Hide Post
instead of format FOCUS for the holdfile try FORMAT XML




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
Hi Frank,

Thanks for your reply.

No XML cant be used in this case. I Just want to USE a FOCUS DB file as a Datasource.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
<JG>
posted
quote:
I Just want to USE a FOCUS DB file as a Datasource.


The input to a Composer control needs to be XML.

However you are trying to use HTMLFORM but trying to steal the code from a composer
generated control.

A 100% No Go.

Either use the composer or hand code it. You cannot mix it.

Can you manipulate WebFOCUS, Yes, But you need to understand what you are doing.
 
Report This Post
Master
posted Hide Post
only xml is allowed when inputting values to html control


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Expert
posted Hide Post
If your FOCUS file is inline with your HTMLFORM, then will it exist when the form is populated ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] Problem - Accesing FOCUS Table as datasource For a List Box - Urgent

Copyright © 1996-2020 Information Builders