Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET FDOW doesn't work for me
Message
From
25/01/2006 16:07:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01090273
Message ID:
01090296
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform