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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] List box chaining. First list box have 6000 records

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] List box chaining. First list box have 6000 records
 Login/Join
 
Member
posted
Situation:
I have to generate a report for one individual provider. I have total 6000 providers. The hirarchy is Provider - > Role - > Service Type ->Borough -> Team. Provider have one to many relationship with each node. i.e. Provider can have multiple roles, can be assosiated with multiple service types, can be assosiated with multiple teams and in multiple boroughs. If i will load all 6000 providers on page load to the list box it is taking ages. The solution i am trying to do is: I have put a text box on html page. User will type in the text box i.e. if user types A then all the providers first name starting with A will be displayed. User will click on the Name of the provider and provider ID will be passed to the list box. On the basis of the provider id roles will be displayed assossiated with the provider. on next level providerid and rold id will be passed to next list box to filter assosiated service type and so on.
I am facing problem at first level. When user clicks on hyperlink then Provider id is not being passed to the list box called Roles. How can we do this in webfocus????

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 11 | Registered: October 13, 2010Report This Post
Expert
posted Hide Post
Hi MH,

I checked with our internals and was suggested that, this one looks very involved and will be better to address this in a case with Customer Support Services. To open a case, please call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Platinum Member
posted Hide Post
Hi Kerry - we will raise a case with the tech. support team in Zurich - as you say it is involved and we should geta solution via this route. Many thanks. Ian


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Report This Post
Guru
posted Hide Post
This is the way I solved it:

A drop which contains the letters A-Z (or Ö, since I'm from Sweden). Using the CAR file, I added a DEFINE in the Master file, pos1, which is the initial character of COUNTRY, EDIT(COUNTRY,'9'). Chain the values of the drop to a listbox which contains all the CAR rows where the pos1 equals the value selected in the list box.

Works like a charm.

Håkan


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Platinum Member
posted Hide Post
Can you post the code for this please. It may do the trick for us but we would like to see exactly what you did. Many thanks, Ian


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Report This Post
Guru
posted Hide Post
Ian, no problem

car.mas
DEFINE pos1/A1 = EDIT(COUNTRY,'9');


<input_controls>

< !-- The drop -->   
<input_control bindcontrolid="compUid_2" elementtype="8" name="combobox1" id="combobox1" multiple="0" inbinding="1" unresolved="0" onetimepopulated="1">
    
<link linktype="default">
     
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
      
<data_info modifiedrequest="1" sourcetype="typeMaster">
       
<static_values>
<static value="]" display="Select a value" selected="0"></static>
<static value="E" display="Initial character E" selected="0"></static>
<static value="F" display="Initial character F" selected="0"></static>
<static value="I" display="Initial character I" selected="0"></static></static_values></data_info></condition></link></input_control>
   
< ! The list box -->
<input_control bindcontrolid="compUid_3" elementtype="9" name="listbox1" id="listbox1" multiple="0" inbinding="1" textvarname="_TEXT" unresolved="0" onetimepopulated="0">
    
<link linktype="default" from="compUid_2">
     
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0" resolveparameterfq="pos1" resolveparameter="pos1">
      
<data_info datatype="1" sourcetype="typeMaster" ibiapp_app="test" datasource="CAR.mas" displayfield="CAR.COMP.CAR" ibiformat="A16" dfformat="A16" datafield="CAR.COMP.CAR" modifiedrequest="0" sorttype="0" dosorting="1" addalloption="0" dynalldisplayvalue="ALL">
       
< ![CDATA[TABLE FILE CAR
SUM FST.CAR.COMP.CAR
 BY CAR.COMP.CAR
-*insert_filters_here
ON TABLE PCHOLD FORMAT XML
END
]]></data_info></condition></link></input_control></input_controls>


Cheers
Håkan


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Platinum Member
posted Hide Post
Many thanks Hakan - will give it a try....


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Report 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] List box chaining. First list box have 6000 records

Copyright © 1996-2020 Information Builders