Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating Last Day in any Month
Message
 
To
28/02/2001 13:38:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00480631
Message ID:
00480633
Views:
10
>I have a process that I want to perform a monthly query against a table. The code should go something like:
>
>Count to m.thiscnt FOR between(tablename.datefield,firstdate1,seconddate2)
>
>Quite naturally I want firstdate1 to be the first of the current month when the process is ran and teh secondate2 to be populated with whatever the last date of teh current month when teh process is ran.
>
>Does anyone no how to do this?

see FAQ#7661
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform