Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Data Connectivity
Message Icon Topic: conditional formulas Post Reply Post New Topic
Author Message
dkalsow
Groupie
Groupie
Avatar

Joined: 10 Jan 2011
Location: United States
Online Status: Offline
Posts: 65
Quote dkalsow Replybullet Topic: conditional formulas
    Posted: 08 Feb 2011 at 1:22pm
I am attempting to create the following conditional formula:
 
(isnull({Po_noteExtensionBase.Po_ReissueDate}) and
not isnull({Po_noteExtensionBase.Po_RenewalNote}) and
cdate({Po_noteExtensionBase.Po_EffectiveDate}) <= date(currentdate + time(23,59,59)) and
date({Po_noteExtensionBase.Po_EffectiveDate})<>date({Po_noteExtensionBase.Po_ActualRedemptionDate})
and {Po_noteBase.statecode}=0))
or
(isnull({Po_noteExtensionBase.Po_ReissueDate}) and
not isnull({Po_noteExtensionBase.Po_RenewalNote}) and
cdate({Po_noteExtensionBase.Po_EffectiveDate}) <= date(currentdate + time(23,59,59)) and
isnull({Po_noteExtensionBase.Po_ActualRedemptionDate}) and not isnull({Po_noteExtensionBase.Po_EffectiveDate})
and {Po_noteBase.statecode}=0))
 
I must be doing something wrong though becase it does not like anything starting with the or.
 
Could anyone tell me why?
 
Thanks!
 
Dale
Thanks :)
dkalsow
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.047 seconds.