Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
There has to be an easier way!!!!!
Message
 
À
28/12/2006 14:09:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01180722
Message ID:
01180724
Vues:
19
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform