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] Compute Field Syntax documentation?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Compute Field Syntax documentation?
 Login/Join
 
Member
posted
Hello:

I'm looking for basic information on Compute Field syntax. Things like how to add comments and how to group expressions.

I'm not finding much in the way of documentation, so I'm picking my way through forums.

I would appreciate it if anybody could point me to a resource if one exists.

Thanks,
Greg

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.x, Service Pack 2
Windows, All Outputs (mainly Active Reports)
 
Posts: 5 | Registered: November 18, 2013Report This Post
Master
posted Hide Post
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Member
posted Hide Post
Hi, Ram:

Thanks for the reply!

Is there a way to add comments to Calculated Value code? I've got some fairly complex stuff going on and comments would come in handy when I take a look at it again in the future.

Thanks!
Greg


WebFOCUS 8.x, Service Pack 2
Windows, All Outputs (mainly Active Reports)
 
Posts: 5 | Registered: November 18, 2013Report This Post
Master
posted Hide Post
You can add comments before the COMPUTE statement. Comments begin with -*
Note: Comments should always start in a new line, you can not add comments in the same line as COMPUTE statement.

You can also create COMPUTEs in Master Files and there you can specify description for COMPUTEs.

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

So just to be clear, the only place I can add comments to a COMPUTE field is at the top? No embedded comments?

I don't have the ability to edit Master Files.

Thanks,
Greg


WebFOCUS 8.x, Service Pack 2
Windows, All Outputs (mainly Active Reports)
 
Posts: 5 | Registered: November 18, 2013Report This Post
Master
posted Hide Post
You can sprinkle comments throughout your code - as long as you don't plan to ever open it again with the report painter. If you do, it will move all the comments to the top.


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Member
posted Hide Post
Howdy:

I don't think I can put comments just anywhere in my Compute field code. When I put them anywhere but the top I get an error.

Thanks,
Greg


WebFOCUS 8.x, Service Pack 2
Windows, All Outputs (mainly Active Reports)
 
Posts: 5 | Registered: November 18, 2013Report 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] Compute Field Syntax documentation?

Copyright © 1996-2020 Information Builders