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     graph names that need to change

Read-Only Read-Only Topic
Go
Search
Notify
Tools
graph names that need to change
 Login/Join
 
Platinum Member
posted
I am looping through my code to generate a graph and report for each account selected. I found that if I keep my graph name the same as I loop (i.e. TWRRGRA.GIF), the first graph appears for every account. I put in code as follows ON GRAPH SAVE AS TWRRGR&COUNT FORMAT GIF (with &count being my count of each record) and it creates a new graph name, but when I try to use it in my stylesheet I get a bad code in stylesheet message.

TYPE=REPORT, IMAGE=TWRRGR&COUNT.GIF, POSITION=(0.5 1.35), SIZE=(5.5 3.5), $

I don't know how many accounts I will have so I can't do IF statements in my stylesheet (it does work to do IF statements and it does pull up the correct graphs coded in my on graph save as up above).

This is in PDF. Any suggestions on how to do this?

I also tried to assign a variable the entire name -SET &FILENAME = TWRRGR&COUNT, but the stylesheet didn't like that either.
 
Posts: 179 | Registered: November 10, 2004Report This Post
<Pietro De Santis>
posted
You most likely have to code it this way:

TYPE=REPORT, IMAGE=TWRRGR&COUNT.EVAL.GIF, POSITION=(0.5 1.35), SIZE=(5.5 3.5), $

If that doesn't work, then try this:

-SET &FILENAME = 'TWRRGR' || &COUNT || '.GIF';

TYPE=REPORT, IMAGE=&FILENAME.EVAL , POSITION=(0.5 1.35), SIZE=(5.5 3.5), $
 
Report This Post
Platinum Member
posted Hide Post
thank you. The first option worked perfectly.
 
Posts: 179 | Registered: November 10, 2004Report 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     graph names that need to change

Copyright © 1996-2020 Information Builders