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     field value in Graph heading?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
field value in Graph heading?
 Login/Join
 
Master
posted
I would like to add a field's value to a graph subtitle.

I have
setSubtitleString("<YEARMONTH_NAME Consolidated Sales to Goal Graph");

the graph shows a title of literally "<YEARMONTH_NAME Consolidated Sales to Goal Graph" without evaluating the Yearmonth_Name field. I tried a .eval and got the same result.

Any ideas?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
Jason

you have to put that value in an amper value and then that will work

So do something like

TABLE FILE XXX
PRINT YEARMONTH_NAME
ON TABLE HOLD AS AAA FORMAT ALPHA
END
-RUN
-READ AAA, &YMN
.....
GRAPH ...


Now you can say

setSubtitleString("&YMN.EVAL etc...");

I hope this helps




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Master
posted Hide Post
Super!

It works very well, thanks FrankDutch! One last thing, When I create this hold file, where does it go? I'm doing this in the MRE, and doing a search on the windows directory for the hold file's name 'AAA' I get nothing.

It's being rendered as 000006August for some reason, and I'm trying to figure out if the problem is in my HOLD file, or in the conversion using -READ AAA, &YEMN

Thanks!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
The file is just there for a while, only for this process.
Ad the start of your program type

-SET HOLDLIST=PRINTONLY

And see if that number is gone.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Master
posted Hide Post
I added the -SET HOLDLIST=PRINTONLY to my .fex and it still retains that 000006 in front of the August.

Ideas?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
yes

change the line where you read the record

-READ AAA &FILL.A6. &YEMN.A9.

this is a fixed form read, you skip the first 6 characters.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
You have to turn VARCHAR off. If your database was Oracle you use:
SQL SQLORA SET VARCHAR OFF
If its SQL Server it is
SQL SQLMSS SET VARCHAR OFF
or
ENGINE SQLMSS SET VARCHAR OFF
etc.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Master
posted Hide Post
Per your advice, I went ahead and changed my master file from A30V to an A30, it works now.

I'm amazed at how often I have to do that but I forget about it. I guess it's just the cost of having a tool that can use anything as a datasource.

Thanks for the help folks.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report 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     field value in Graph heading?

Copyright © 1996-2020 Information Builders