Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
There has to be an easier way!!!!!
Message
 
To
28/12/2006 14:09:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01180722
Message ID:
01180724
Views:
18
>>There has to be an easier way!!!!!
>>
>>A request for our Scheduling module to handle recurring day of the months. For example, the 1st and 3rd Wednesday of every month, etc. I created a cumbersome routine and really feel that there should be some easier way to determine the 'Week Day' of the month.
>>
>>Looking for suggestions or a means to easily identify if any date would satisfy a 'Week Day' of the month such as above. Any suggestions would be welcome.
>>
>>Thanks in advance
>
>Use the Windows Scheduler instead of creating your own. This should be much easier.
>
>If you still want to do it yourself: You didn't explain your cumbersome routine, but a combination of the week() function and the dow() function - plus related SET commands - should be fairly easy to use.

It needs to reside in our module. Basically I am determining the day number and if it is 1-7 then it is in the fist week of month, 8-14 in second week of month etc.
Just seems like there should be something simple.

Thanks for the reply
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform