Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting a DateTime variable to only a Date variable

Status
Not open for further replies.

markajem

Programmer
Dec 20, 2001
564
US
How would I go about converting a DateTime variable to only a Date variable. I have a report that determines detail selection if the date falls between the CurrentDate and another date but each time I want to go to a new page of the report it asks if I want to refresh the report because the time has changed from the previous page.

I have looked at CDateTime but this will create a DateTime variable not convert it from a DateTime to a Date variable.


Thanks

Mark
Mark
Email: markanas333@hotmail.com
 
I don't know what version of Crystal you are using but in v7 you could go under the 'file' menu -> 'report options...' and select the convert datetime to date.
 
Good Grief Charlie Brown" could it have been that easy to do?
Thanks
Mark
Mark
Email: markanas333@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top