Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining the End of the Month
Message
De
26/03/1999 21:27:42
 
 
À
26/03/1999 00:44:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00199069
Message ID:
00202655
Vues:
13
This is good, but keep in mind that a formula that uses some VFP functions is usual MUCH faster than a UDF using the same VFP functions.

Vlad

>Hiya Dragan,
>My contribution...
>
*!***********************************************
>*!
>*!       Function: EOMTH
>*!
>*!***********************************************
>FUNCTION EOMth
>PARAMETER dt
>RETURN GOMONTH(BOMth(m.dt), 1) - 1
>
>*!***********************************************
>*!
>*!       Function: BOMTH
>*!
>*!***********************************************
>FUNCTION BOMth
>PARAMETER dt
>RETURN m.dt - DAY(m.dt) + 1
>
>But I gotta admit I haven't been following the whole thread
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform