Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A twist on age calculation.
Message
De
30/12/2004 15:04:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00973330
Message ID:
00973384
Vues:
27
Sergey,

>The days part is calculated last so I guess it should be aplied first. See if this is better.
dob = GOMONTH(dt - 18, - (33*12+6))
>dob = GOMONTH(dt-dd, - (yy*12+mm))
Seems to work on Rick's problem sample and the few others I have identified. Nicely done. Thanks!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform