Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: shared datetimevar Post Reply Post New Topic
Author Message
spl1
Newbie
Newbie
Avatar

Joined: 18 Jun 2009
Location: United Kingdom
Online Status: Offline
Posts: 20
Quote spl1 Replybullet Topic: shared datetimevar
     Posted: 16 Nov 2009 at 7:52am
Hi
I have a subreport which brings through a datetime field.
However, after grouping the main report, the shared variable repeats on each line until changed. Having used shared variables a few times, I know on number/string variables these need to be reset to 0 / "", but am unusure how to do this for datetime variables.
Could you help me with this formula,
Many thanks
Sarah
Sarah
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 17 Nov 2009 at 6:24am
hmm...I would probably reset it to some value and then suppress the display if it had that value...1/1/1900 is used a lot as it is 0 in SQL Server, but you can pick any date.
 
HTH
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