Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing Right Parenthesis??

Status
Not open for further replies.

abowling

Technical User
Apr 27, 2005
33
US
What is wrong with this derived field? I keep getting 'missing right parenthesis':

SUM("CASE TABLE_NAME.DED_CODE"
WHEN 'TRC' THEN "TABLE_NAME_AMOUNT"
ELSE 0 END)
 
THAT FIRST LINE SHOULD BE:

SUM(CASE "TABLE_NAME.DED_CODE
 
'missing right parenthesis' is like a default error message.

CharlesCook.com
ADP - PeopleSoft - SAP
ReportSmith - Crystal Reports - SQR - Query - Access
Reporting - Interfaces - Data Mining
 
Yes, I have gotten that before, when there was something wrong with the derived field (not necessarily missing right parenthesis). Do you know what is wrong with the derived field though?
 
Like abardel said it should look like this:


SUM(CASE "TABLE_NAME.DED_CODE"
WHEN 'TRC'
THEN "TABLE_NAME_AMOUNT"
ELSE
0
END)

CharlesCook.com
ADP - PeopleSoft - SAP
ReportSmith - Crystal Reports - SQR - Query - Access
Reporting - Interfaces - Data Mining
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top