Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Tips and Tricks
Message Icon Topic: Case formula issues Post Reply Post New Topic
Author Message
dfolzenlogen
Newbie
Newbie
Avatar

Joined: 23 Feb 2008
Location: United States
Online Status: Offline
Posts: 36
Quote dfolzenlogen Replybullet Topic: Case formula issues
    Posted: 26 Jul 2015 at 4:22am
I'm using the following formula:

Select {CCE_WPX.Status}
    case “Active Injector” : “AI”
    case “Producing Oil Well” : “PO”
    case “Producing Gas Well” : “PG”
    Default : "VERIFY"

but get the following error message:

"A number, currency amount, boolean, date, time, date-time, or string is expected here.

I'm not sure where I'm going wrong as I have used this format previously.

Thanks.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 27 Jul 2015 at 4:28am
You didn't copy the code from a text editor did you?  If so, sometimes the quotes they use are not what CR recognizes.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.