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

I date/time

Status
Not open for further replies.

mila3746

Programmer
May 31, 2011
1
How to set the Date prompt based on a retrieved date/time from the database.

I had created a date prompt and created '[NERS].[DOCUMENT].[CREATEDATE]=?Parameter1?'

but when i cast_date [[NERS].[DOCUMENT].[CREATEDATE]=?Parameter1?]..

it was throwing erroe.

in my datebase i have createddate as date/time,but now i needs to filter it up as date only.

pls help me.
 
I have encountered this problem several times. Usually I play around with cast...cast one or the other as date or even try varchar..until it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top