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.

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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     multi select List Box

Read-Only Read-Only Topic
Go
Search
Notify
Tools
multi select List Box
 Login/Join
 
<delvegas>
posted
Hi
Can anybody give code for multi Select List box.

I need to populate multiselect list box from data retrieved from other table. so I dont know how to create Multi Select list box

Thanks
 
Report This Post
Master
posted Hide Post
check my popup.zip in post<br /> https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5141028331
/r/9351028331#9351028331

This message has been edited. Last edited by: Kerry,
 
Posts: 865 | Registered: May 24, 2004Report This Post
<delvegas>
posted
Hi TexasStringray
Thanks a lot

But what am i looking for is, I need a multi Select list Box
Like a list box displays A ,B,C,D,E,F,G, H, I .........
From this I should be able to select Mulitiple values.
can you tell me in more detail..

Thanks
Texas
 
Report This Post
Gold member
posted Hide Post
I learned how to do this at the Summit!

TABLE FILE EMPDATA
SUM SALARY BY TITLE
-IF &DIV0 LT 1 THEN GOTO NOLOOP;
WHERE DIV EQ '&DIV1'
-SET &CNT = 2;
-LOOP
-IF &CNT GT &DIV0 GOTO NOLOOP;
OR '&DIV.&CNT'
-SET &CNT = &CNT + 1;
-GOTO LOOP
-NOLOOP
END


Notes (DIV is parameter selected from multi-select box):
&DIV0 = How many selected (&<fieldname>0 is reserved for this information!)
&DIV1 = First Selected
&DIV2 = 2nd selected, etc
 
Posts: 57 | Registered: February 24, 2004Report This Post
Gold member
posted Hide Post
View my code I submitted in the earlier email through Focal Point, not the emailed version. Some of the ampersands did not show up in the email.

Thanks,
Tim
 
Posts: 57 | Registered: February 24, 2004Report This Post
Master
posted Hide Post
delvegas,

what version of WebFOCUS are you usung. Dev Studio with resource layout gives you a gui to create them. You create your report and set up a where statement using 'Equal to Multiple' and parameter.
 
Posts: 865 | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
Tim J --That's Interesting, this is the way I was taught to do it:

-IF &FIELD EQ '$*' THEN GOTO SKIP_FIELD;
-IF &FIELD.EXISTS THEN GOTO FIELD1 ELSE GOTO FIELD2;
-FIELD1
WHERE CPY_ID EQ &FIELD
-IF &FIELD0.EXISTS THEN GOTO FIELD_START ELSE GOTO FIELD2;
-FIELD_START
-REPEAT FIELD2 FOR &COUNTERA FROM 2 TO &FIELD0;
OR &FIELD.&COUNTERA
-FIELD2
;
-SKIP_FIELD
Pretty similar, but different. Anyone know which is the preffered/Better method? Are there any gotchas in the way I'm doing it?

This message has been edited. Last edited by: <Mabel>,
 
Posts: 157 | Location: Secaucus, NJ | Registered: May 21, 2004Report This Post
<delvegas>
posted
Lloyd and Tim J
Thanks a lot, appreciated guys
 
Report 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     multi select List Box

Copyright © 1996-2020 Information Builders