Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating work days
Message
De
29/02/2000 09:47:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00338999
Message ID:
00339073
Vues:
23
Hullo Michael,

I did this (a long time ago) using a table of dates containing
all holidays (entered by users),
all Saturdays and Sundays up to last holiday date entered,
which was then sorted and indexed on the date.

Then by Seeking start and end dates, with near on, in the table, the difference between the two recno()'s deducted from the total days between the start and end dates gave the working days. It was relatively quick.

Hope this is of some use.

John
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform