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     Help With Reserved word syntax

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Help With Reserved word syntax
 Login/Join
 
Member
posted
I happen to have a field being reported called: TYPE. I dragged it onto the report - it works fine. I added to a filter. That works fine and th ereport runs. I just tried adding another filter, I clicked WhereIf then Assist and get a message: 'The expression is not supported by the expression builder'. I am pretty sure it does not like the TYPE in the filter. I tried changing it to: [TYPE]...no dice. Any idea how I should be qualifyig on this field.

Here is some code focus has generated; I think tha very tail end is the problem...Like I said..the report runs...but I suspect when I tried to add a new filter, some sort of compiler ot something is internally not likeing how: TYPE is appearing.

WHERE ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.GROUP EQ &GROUP.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.GROUP,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.GROUP IN tbltemp_budgactualdetails)).GROUP. ) AND ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.FISCALYEAR EQ &FISCALYEAR.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.FISCALYEAR,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.FISCALYEAR IN tbltemp_budgactualdetails)).FISCALYEAR. ) AND ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.IDXSPECIALTY EQ &IDXSPECIALTY.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.IDXSPECIALTY,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.IDXSPECIALTY IN tbltemp_budgactualdetails)).IDXSPECIALTY. ) AND ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.RPTBANBR EQ &RPTBANBR.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.RPTBANBR,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.RPTBANBR IN tbltemp_budgactualdetails)).RPTBANBR. ) AND ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.LOCATIONNM EQ &LOCATIONNM.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.LOCATIONNM,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.LOCATIONNM IN tbltemp_budgactualdetails)).LOCATIONNM. ) AND ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.CPT_CODE EQ &CPT_CODE.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.CPT_CODE,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.CPT_CODE IN tbltemp_budgactualdetails)).CPT_CODE. ) AND ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.ORIGFSCCAT EQ &ORIGFSCCAT.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.ORIGFSCCAT,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.ORIGFSCCAT IN tbltemp_budgactualdetails)).ORIGFSCCAT. ) AND ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.ORIGFSCNM EQ &ORIGFSCNM.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.ORIGFSCNM,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.ORIGFSCNM IN tbltemp_budgactualdetails)).ORIGFSCNM. ) AND ( TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.TYPE EQ &TYPE.(OR(FIND TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.TYPE,TBLTEMP_BUDGACTUALDETAILS.TBLTEMP_BUDGACTUALDETAILS.TYPE IN tbltemp_budgactualdetails)).TYPE. );


7702
 
Posts: 19 | Registered: April 03, 2012Report This Post
Expert
posted Hide Post
One suggestion is to DEFINE a new field with a different name and assign it to this TYPE field. Then use the DEFINE field instead.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Not sure how it would fit in with your code, but quotes around the field may help. You may be able to do this in the master file.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
I tried brackets, single quotes and double quotes. I do not want to change the master file since other things may already be linked to it. Can you give me an example of the define and where I would stick it...I hate to deviate from the GUI but I need to get this working....


7702
 
Posts: 19 | Registered: April 03, 2012Report 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     Help With Reserved word syntax

Copyright © 1996-2020 Information Builders