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

Today's Date

Status
Not open for further replies.

jkupov

Technical User
Apr 28, 2004
101
US
I have a daily report in which I need to pull a quick report of today's appointments. I have been manually changing the date in the select expert to the current date but I want it to automatically use today's date.

I am using CR XI, and have entered the following into the formula editor in the select expert:

{SERVICE_APPOINTMENT.APT_DATE_TIME} = DateTime (CurrentDate)

This is not producing any results. I think the reason is because I have a DateTime field but am not specifying a time. So I need to change it to somehow select all appointments from today's date between 12:00:00AM and 11:59:59PM.

How do I do this?
 
what happens if you just use this

{SERVICE_APPOINTMENT.APT_DATE_TIME} = CurrentDate

-- Jason
"It's Just Ones and Zeros
 
Oh... that was easy. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top