Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A twist on age calculation.
Message
 
 
À
30/12/2004 14:32:58
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:
00973377
Vues:
25
>"by hand" is my immediate problem ;-) I've got over 30K records to massage.

Ouch. That'd be one mighty tired hand. < s >

>OK, I'm using Sergey's code to scan the data first, running the result through your class, then adjusting the "DOB" with any variance. See any problems with this approach?

That sounds good: start with a close approximation, then adjust if necessary.

Although my AgeCalculator class wasn't designed to do so, I can see how it would be useful to be able to work backward or forwards from a given date using a fixed number of years, months, and days like you need to do here. I may add this capability to my class if I can find time.
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform