Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning for month= in date field
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00257868
Message ID:
00257893
Views:
19
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform