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     [CLOSED] How to loop based on the amper variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to loop based on the amper variable
 Login/Join
 
Guru
posted
Hi,
I have an ID field wherein a user can enter only 1 value at a time from the html page and this ID field is being passed as an input to my next sql query.
This ID may be tied to a column named typeid and say if I enter the ID as 1, this ID named 1 can be tied to a typeid's of 3 different types having the values such as ABC,XYZ,PQR.Next if the ID 2 is entered,then it might be tied to a typeid's of 5 different types namely PQR,MNO,ZZZ,AAA,BBB.
In another column, I have mentioned the type id's along with their values namely :
ABC 1
AAA 2
BBB 3
MNO 4
PQR 5
XYZ 6
ZZZ 7

Say if I enter ID as 2,then as it is tied up to a type id's having the values such as PQR,MNO,ZZZ,AAA,BBB ,....I need the compound report for each typeid and to do this,I do not want to use the same query in my fex file 5 times for each type id's[Open,noclose and close]and also I want the report to get generated based on the order of their values i.e.,here AAA[having value as 1],BBB[value is 2],MNO,PQR,ZZZ .
Can anyone tell me how can we do this using looping technique.

Any sample example/hint is greatly appreciated!

Thanks!

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


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Master
posted Hide Post
You can search this forum for compound coordinate keywords.

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Guru
posted Hide Post
Hi,

Thank you Ram.I will do that.

Regards,
IP


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Guru
posted Hide Post
Hi,

Ram - I searched for the same but couldn't find any examples on it.

Also can anyone please provide any sample looping technique using the CAR file as an example for the above asked technique.

Thanks a lot in advance!

Thanks!


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Guru
posted Hide Post
Hi,

Any hints/thoughts on the same.

Thanks,
IP


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Gold member
posted Hide Post
Hi info4pal,

Check the below link. You will get the piece of code to solve your purpose:
http://pravinsinghwebfocus.blo...cus-code-in-our.html

Please let me know if it doesn't. I'll try to help you out.

Thanks,
Pravin Singh


WebFOCUS 7703
Windows, All Outputs
pravinsinghwebfocus.blogspot.com
 
Posts: 51 | Location: WebFOCUS 7.7.03 | Registered: June 19, 2014Report 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] How to loop based on the amper variable

Copyright © 1996-2020 Information Builders