Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Addition
Message
De
25/01/2006 12:40:55
 
 
À
25/01/2006 12:35:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01090152
Message ID:
01090166
Vues:
9
Thanks Terry. The result is a zero. FDOW is not set, so Sunday is a 1 and Monday is 2. I have also tried if cdow(crime.crimedate) = "Monday" with the same result.

>>I'm trying to count mondays. What the heck have I done wrong this time!!!?
>>
>>
>>If dow(crime.crimedate) = 2
>>  monday1 = monday1 + 1
>>Endif
>>
>
>
>Dunno. What the heck is the result?
>
>One thing: what is yout SET FDOW set to ( Week Starts On list box, which appears on the Regional Tab in the Options dialog box.)? If different from Sunday then you need to explicitly state it in the func., i.e.
>
>dow(crime.crimedate, 1)
>
>Guess won't hurt to do that anyway.
>
>Terry
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform