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.
from this list (the parameters) Column titles of a table I want to display only the columns selected as a multiple select
(in my HTML as a list)
Tried this works for only 1 option value at a time i.e. 1 Column only as output (no good)
&Opt_SQL = '&Opt_SQL' -SET &TEXT2 = STRREP(&Opt_SQL.LENGTH,&Opt_SQL,4,' or ',1,',',&Opt_SQL.LENGTH,'&Opt_SQL'); -SET &TEXT3 = STRIP(&TEXT2.LENGTH,&TEXT2,'''','&TEXT2'); SQL SQLMSS PREPARE SQLOUT FOR SELECT &TEXT3 FROM dbo.ServiceApplication ; END TABLE FILE SQLOUT PRINT * ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON END
when I try 2 or more option values I get an errorThis message has been edited. Last edited by: Kerry,
(FOC1517) UNRECOGNIZED COMMAND ''BUSINESSSPONSOR'' OR ''CERTSTATUS'' = '''BUSINESSSPONSOR'' OR ''CERTSTATUS''' (FOC1400) SQLCODE IS 156 (HEX: 0000009C) XOPEN: 42000 : Microsoft SQL Native Client: [42000] Incorrect syntax near the keyword 'OR'. [42000] Statement(s) could not be prepared. [] Deferred prepare could not be completed. L (FOC1405) SQL PREPARE ERROR. (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: SQLOUT BYPASSING TO END OF COMMAND
However the removal of the ' or ' was I believe successful
Yes the Case sensitivity and its observation has made the query work... so the next step is an eloquent (simple) code to display what is selected from the HTML options List (left side of page) into a GUI display list (right side) so the user can onclick copy the selection to the display list where a confirmation of items can occur...then the query runs with the selected parameters