Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with this function: dow(sys(10,fec1))
Message
De
17/11/2004 13:39:57
 
 
À
17/11/2004 10:19:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00962200
Message ID:
00962317
Vues:
8
This message has been marked as a message which has helped to the initial question of the thread.
Edgar,

Substitute the line:
if dow(sys(10,(fec1))=1 or dow(sys(10,fec1))=7
with the next two lines:
lnDow = dow(ctod(sys(10, fec1)))
if lnDow = 1 or lnDow = 7
Remember that fec1 must be an integer that represents the number of days between the "Julian Day" and today.

Have a nice day
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform