Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating Last Day in any Month
Message
 
À
28/02/2001 13:38:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00480631
Message ID:
00480633
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform