Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Date conversion Post Reply Post New Topic
Author Message
omega1983
Newbie
Newbie
Avatar

Joined: 07 Feb 2008
Location: United States
Online Status: Offline
Posts: 6
Quote omega1983 Replybullet Topic: Date conversion
    Posted: 11 Mar 2008 at 11:36am
I have a crystal report that is to show a date parameter (date/time).  I want the date parameter to be compared to a gifteffective date(date/time) and produce an error message if it does not match.  The issue here is I am running a report from outside of crystal that will pass the parameter value to the date parameter within crystal.  Essentially I type in the date (ie 3/12/08) Then I want to compare the date parameter value to the existing gifteffective date which is a date/time data type in crystal.
 
Assuming the parameter outside of crystal is a text box:
 
1.  Is it best to convert both the date parameter and gifteffective date to text
 
2. Is it best to convert both to a date (date) and not a date/time
 
3. Since I am runnig the report from outside of crystal, is there a way to type the date as a string, then have crystal convert it to a date format for comparison
omega1983
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.031 seconds.