Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addition
Message
From
25/01/2006 12:40:55
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01090152
Message ID:
01090166
Views:
11
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform