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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DateTime to Date in a parameter

Status
Not open for further replies.
Oct 12, 2005
204
GB
Hi,

I'm using Crystal XI querying a Oracle 10g database, a field that i would like to use as a date parameter is datatime, is there any way to convert this so its date?

Thanks in advance.

Mick.
 
You should be able to use a date parameter with a datetime field without any conversion. Or are you saying you want to create a dropdown list (instead of using the calendar) that shows dates instead of datetimes?

-LB
 
If all you are looking for is to convert your DATE/TIME to DATE in order to make it a parameter you can do it as follows:
In FORMULA FIELDS create a date formula date(DateTimeField) Then you can create your parameter out of this new field and it will only promt you for the date and not the date/time
 
Thanks guys for your help, all sorted now.

Much appreciated.
Mick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top