Query for specific days within a date range in Crystal Reports XI

Hello Experts,
I am working on a Crystal Report (version XI) that queries an Oracle database. The report is pulling records from the database that have a date field that falls within a specified date range. I need to pull these records within the specified date range, but only for dates that fall on a Monday, Tuesday, or Wednesday. Is it possible to query for specific days in the record selection statement?  Thanks.
Janice SmithSystems AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

UnifiedISCommented:
Use the DatePart function
DatePart("w", yourdatefield) IN [2,3,4]

w = weekday
crystal uses 1-7 to describe the days of the week,  You may have to adjust the 2,3,4 to get the right days depending on how you have the firstDayOfWeek configured within CR

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Janice SmithSystems AnalystAuthor Commented:
Perfect!!  Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.