Create a calculated column which displays the date as a date, not a datetime and use this for the prompt. Function - datetime-to-date.
Chris B
Main Topics
Browse All TopicsI have a date prompt on my prompt page that accepts a start date and end date for a period to search. Normally I've used syntax like this:
between ?start_date? and ?end_date?
But this doesn't work for this date field. The date requires a syntax like this:
[Referral_Date] in_range{2009-04-01 00:00:00.000:2009-04-30 23:59:59.999}
This will make it work, but I don't know how to make my date prompt pass the date like this?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: RWrigleyPosted on 2009-05-08 at 13:41:43ID: 24340037
Assuming you need/want to use two date prompts, I'd use something like:
[Referral_Date] > ?StartDate? and [Referral_Date] < ?EndDate?
Altneratviely, you can use a "Date Range Prompt" instead of a "Date Prompt", and use
[Referral_Date] in range ?DateRange?