>>scan while/for Month(mydate)=5 and year(mydate)=1999
>
>Jeff Thanks
>
>However, I'm still new to Fox. What does myDate Represent?
>
>Thank You Again.
mydate would be the date field from the database you are scanning.
depending on what you are really trying to do you could use a select statement also. select * from MYDATABASE where month(MYDATABASE.MYDATEFIELD)=5 and year(MYDATABASE.MYDATEFIELD)=1999 into cursor myresults.
Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com