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.
Hello - we have a large list of brands associated with our products. The fall into 2 main "groups". My question is - how do I display these 2 groups of brands as option in a list box, as well as each individual brand? Essentially it's 2 different fields that I need to combine in to 1 list box.
Thanks, Jeralee
WebFOCUS 7.7.03 Linux / Universe Db HTML/PDF/EXCEL/HTML Active
Combining the two database fields into one listbox probably wouldn't be so hard......
DEFINE FILE CAR FIELDA/A16 = COUNTRY; END TABLE FILE CAR PRINT FIELDA ON TABLE HOLD AS OUTFILE FORMAT ALPHA END FILEDEF OUTFILE DISK outfile.ftm (APPEND TABLE FILE CAR PRINT CAR ON TABLE SAVE AS OUTFILE END TABLE FILE OUTFILE PRINT FIELDA BY FIELDA ON TABLE PCHOLD FORMAT XML END
But... trying to use the listbox is probably more difficult.
What field are you going to evaluate when you send back the quoted string with the multiple values from two different fields? (going to be tough)
I think you need to re-evaluate and try to get two listbox's chained on the htmlform. One to say what field, and the other to say what value. Then you could make some sort of dynamic filter that would say WHERE &PARM1 EQ &PARM2.QUOTEDSTRING ; With only 1 parameter to evaluate two fields, it's going to be tough.
WebFocus 7x, 8x, Win / Linux, any output format
Posts: 70 | Location: reading, pa | Registered: April 07, 2007
I would go for the same approach as jnc. Go for the chaining alternative (despite the Document Composter), use two select lists, one with the groups and one with the brands, and chain on group.
I went with the chaining option for now but I'm curious about ABT's suggestion. I'm assuming I would place that code directly in the HTML? I would also guess that if I open the page in the composer it might break that additional code? I've experienced that quite a bit with the report painter, so I'm leery of adding code that the tool doesn't support. Anyone else think ABT's idea could be a possibility?
WebFOCUS 7.7.03 Linux / Universe Db HTML/PDF/EXCEL/HTML Active