Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Change String to Date Format Post Reply Post New Topic
Author Message
CluelessII
Newbie
Newbie


Joined: 26 Mar 2010
Online Status: Offline
Posts: 5
Quote CluelessII Replybullet Topic: Change String to Date Format
    Posted: 15 Apr 2010 at 7:07pm
Here is what I have and I need to convert from String to Date to do a date range:

scvw_JailIncidentData.OCCUR_FROM            scvw_JailIncidentData.OCCUR_TO

 I now have it: {scvw_JailIncidentData.OCCUR_FROM}IN{?From Range}  The IN converts to =       Formula Check shows no errors.
When I enter my value From Range  01-01-2010      To Range  04-01-2010
I get returns from the year 2009 included with 2010. It seems to be seeing the mo. and date and not the year request.
If I could change the string to date format I know what to do.
Thanks for any help.
 
CluelessII
 
    


Edited by CluelessII - 15 Apr 2010 at 7:09pm
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 16 Apr 2010 at 4:25am
have you tried Date({table.DateAsStringField}).  Check Help under Date function.
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.