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!

Date formula for a Specific Month Crystal 8.0 -> 1

Status
Not open for further replies.

acr1

Programmer
Oct 12, 2001
73
NZ
Hi All
I have a DateTime Field in a front end program that has a oracle db backend..

I want to extract data for a date ..eg (June 2003) from the database using Crystal 8.5

I have tried the 'ToText'...but need to get all entries for a specified month.

Any help asap would be appreciated.
Thanks
Angus
 
Try something like
Code:
{M1.Date} >= Date(2003, 06, 01)
and {M1.Date} <= Date(2003, 06, 30)
Call it @Junedate, and test for it in your selection

Madawc Williams (East Anglia)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top