Print Page | Close Window

conditional formulas

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12268
Printed Date: 01 May 2024 at 2:45pm


Topic: conditional formulas
Posted By: dkalsow
Subject: conditional formulas
Date 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



Print Page | Close Window