Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: dates Post Reply Post New Topic
Author Message
smccomish
Newbie
Newbie
Avatar

Joined: 10 Sep 2013
Location: United States
Online Status: Offline
Posts: 13
Quote smccomish Replybullet Topic: dates
     Posted: 12 Aug 2014 at 10:29am
i am trying to create a report that shows all checks that DO NOT have a "recon" date, ONLY if there is NO "Void" date. When i use the formula below, i get all check with no recon date, but some have "void" dates. If i try the second formula, i get NO returns. can someone help?

1st:
isnull({RECON.ReconDate}) or
totext({RECON.ReconDate})="" or
{RECON.ReconDate}=Date(0000,00,00)

2nd:
isnull({RECON.ReconDate}) or
totext({RECON.ReconDate})="" or
{RECON.ReconDate}=Date(0000,00,00) and
isnull ({Checks.VoidDate}) or
totext({Checks.VoidDate})="" or
{Checks.VoidDate}=Date(0000,00,00)
Thanks for your help!!
IP IP Logged
FrnhtGLI
Senior Member
Senior Member
Avatar

Joined: 22 May 2009
Online Status: Offline
Posts: 347
Quote FrnhtGLI Replybullet Posted: 12 Aug 2014 at 10:43am
Add some parenthesis around your statements.

(isnull({RECON.ReconDate}) or
totext({RECON.ReconDate})="" or
{RECON.ReconDate}=Date(0000,00,00))
and
(isnull ({Checks.VoidDate}) or
totext({Checks.VoidDate})="" or
{Checks.VoidDate}=Date(0000,00,00))
|< /\ '][' ( )
IP IP Logged
smccomish
Newbie
Newbie
Avatar

Joined: 10 Sep 2013
Location: United States
Online Status: Offline
Posts: 13
Quote smccomish Replybullet Posted: 12 Aug 2014 at 10:47am
WORKED!!! THANK YOU VERY MUCH!!!
Thanks for your help!!
IP IP Logged
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