Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET FDOW doesn't work for me
Message
De
25/01/2006 16:07:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01090273
Message ID:
01090296
Vues:
11
>I read thread#1090152 and I try this code
>
>*** today is Wednesday
>clear
>SET FDOW TO
>? DOW(DATE()) &&& result is 4  = true
>SET FDOW TO 2 &&& Monday is the first day
>? DOW(DATE()) &&& result is again 4. Why ? Today is Wednesday must by 3
>
>What do I wrong?
>TIA

0 is the setting, but 1 is the default ( Foxpro haven't the second parameter )
*** today is Wednesday
clear
SET FDOW TO
? DOW(DATE()),DOW(DATE(),0) &&& result is 4  = true
SET FDOW TO 2 &&& Monday is the first day
? DOW(DATE()),DOW(DATE(),0) &&& result is again 4. Why ? Today is Wednesday must by 3
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform