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 email@example.com for further assistance. Reference the community FAQ to learn more about the community.
Hi, I have a master file with CODE and DESC fields. I'm using the CODE in the Value filed and DESC in display field in the Resource Layout Painter. But the issue is the description is not coming in alphabetic order. CODE DESCRIPTION 01 Company 02 Branch 04 Agent
I need only CODE to be passed to the launch page and I want description to be in alphabetic Order.
Regards, MSAMThis message has been edited. Last edited by: Kerry,
You will have to populate the dropdown box with a procedure. Here is an example that I just did this week:
TABLE FILE filename
ON TABLE HOLD FORMAT ALPHA
TABLEF FILE HOLD
PRINT CODE DESC
ON TABLE PCHOLD FORMAT XML
Put this in a focexec and reference it for the variable. The reason I had to do it that way is because it is the first column in the XML is the one passed to the program. If you sort by the description, by default it becomes the first column.
You misunderstood me. The master is regular text. You write a program that looks like the one in my post. You go into the HTML Layout Painter and in the control for the dropdown box, you select procedure and then point to that little program. When you run the page, WebFOCUS runs the little program and your dropdown box gets populated with the data in the right order.
Couldn't you at least try my suggestion before dimissing it out of hand?
I don't really understand. If you have a master and a FOCUS file, why can't you write a procedure against them to produce the dropdown box in the order that you want then reference that procedure in the Resource Layout Painter control for the dropdown box?
The WebFOCUS required format for putting stuff in a dropdown box from a procedure is XML. You won't see it as XML. You will see it as DESC sorted in the correct order. If you don't want to do this in this easy manner, then I can't help you.