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.
I have a unique situation I would like to hear ideas on.
I am looking to create a text box a user can type an item number into, click an ADD button which will add that input into a list box, then click a submit button to run a report with all the values entered into a WHERE clause of a fex.
I'm curious to see if i'm alone on this because this is fundamental for us since our users know item numbers more than item descriptions.
The above needs to include a clear all and/or a clear single entry button. And for the cake topping, possibly validate against the item file to see if the value entered is accurate.
I got some help at the user conference but i haven't been able to excecute. As a warning, I am Java Script deficient.This message has been edited. Last edited by: Kerry,
version 8202M Reporting Server on Windows Server using DB2 Connect to access data from iseries.
I would suggest to have your text box and the selection list, and enter your values in the text box separated by commas or pipes, etc.
This way you can check the & variable from the text box and decide whether to use those values or the ones from the selection list, or both.
Splitting up a variable into multiple variables has been asked many times.
This way you don't need to know js, just FOCUS and DM code
You can go the rest of the way and have an ADd button, but this is time consuming, and perhaps just entering them, and hitting submit would be easiest.
-* File test_car.fex
-SET &ECHO ='ALL';
-DEFAULT &COUNTRY_NAME='ENGLAND';
-TYPE &COUNTRY_NAME
TABLE FILE CAR
PRINT
SEATS
DEALER_COST
RETAIL_COST
HEIGHT
COUNTRY
WHERE COUNTRY EQ '&COUNTRY_NAME'
END
please let us know.... if this helps out in any way.....
WebFocus7.6.2, WebFocus 7.1.1,Windows HTML, PDF and Excel
Thanks everyone for your responses. I did a delimiter fix for the time being and still playing with Java Script to see other options.
I used a '+' for a delimiter and made the text area small enough to where that takes it to a different line. The only disadvantages are that i can't limit the number of characters in a text area only a text box, and what would be great is if gettok recognizes a carriage return as a delimiter.
version 8202M Reporting Server on Windows Server using DB2 Connect to access data from iseries.
Tony, this functionality would be heavenly for me, but it didn't work, what am i doing wrong? I have the launch page setup with a text area, I typed a bunch of numbers separated by a carriage return but the GetTOK command did not recognize it. Here is my code:
I want to add upon Joe idea of text box then ADD button to input into List Box.
I'm looking at a text box similar to how you use Google Search where you type something and a drop down appear with a list of search ideas.
Can this be possible with Javascript in a textbox scenario.
Where you type something in the textbox and it hit against the table/db with say WHERE CONTAINS '%XXXX%' which gives you all the possibile items and then you highlight the item you want then ADD to the listbox?
WF 8105M - Portal, Dashboard - Rcaster, Data Migrator - Windows 2012 Client Server - Dev/App Studio 8105 - Data: SQL, Oracle, Neteeza,MVS