Feb 13, 2009 #1 Penny001 Programmer Feb 20, 2008 17 US I am having a problem making a String Date field to a true Date field so I can compare with other dates. I'm using Crystal 7. I've tried DSToDate and the new field appears to be a date field but there is no data in it. Please help....
I am having a problem making a String Date field to a true Date field so I can compare with other dates. I'm using Crystal 7. I've tried DSToDate and the new field appears to be a date field but there is no data in it. Please help....
Feb 13, 2009 1 #2 IanWaterman Programmer Jun 26, 2002 3,511 GB What is the format of your String Date? Ian Upvote 0 Downvote
Feb 13, 2009 #4 IanWaterman Programmer Jun 26, 2002 3,511 GB Not sure what functions are avaialable in CR 7 as its over 10 years old!! But this should work, create formula @Date Date(tonumber(left(DateString,4)), tonumber(mid(DateString,5,2)), tonumber(right(DateString,2))) Ian Upvote 0 Downvote
Not sure what functions are avaialable in CR 7 as its over 10 years old!! But this should work, create formula @Date Date(tonumber(left(DateString,4)), tonumber(mid(DateString,5,2)), tonumber(right(DateString,2))) Ian
Feb 13, 2009 Thread starter #5 Penny001 Programmer Feb 20, 2008 17 US THANK YOU SO MUCH!! IT WORKED. Upvote 0 Downvote