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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello: The following formula is

Status
Not open for further replies.

morechocolate

Technical User
Apr 5, 2001
225
US
Hello:

The following formula is not returning the correct data. If a there is a rating of Aaa it should return as Y, not N. I would appreciate it if someone could tell me why this is?

IF {vExtHoldingReports.RATING} IN ["AAA","AA"] then
"N" else "Y"

Thanks

Pam
 
Hi !

Have you checked the "Case-Insensitive SQL Data" ?
You find it under File | Report Options

/Goran
 
If you are using Oracle then you should know that Oracle doesn't support case insensitivity.
 
Using the UCase funtion will give you the desired result
It will read the string as all uppercase letters.

IF UCase({vExtHoldingReports.RATING}) IN ["AAA","AA"] then
"N" else "Y" Mike

 
Thank You everyone for such prompt responses.

BTW, rhionk, we are not using Oracle.

Pam

 
I just re-read your post.

Read it as if you had "then "Y" else "N"

My formula would cause the same result you are already getting.



Mike

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top