Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need function to find Monday by Week No
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01052733
Message ID:
01053060
Views:
10
>Dmitry,
>
>As you are building the labels on the form you only need to determine the first Monday for the first label. If you use a custom label class you can give it a custom property to hold the date value:
>
>
this.dThisMonday = ...
>
>Then you code can simply reference this stored date property without having to calculate it each time.
>
>After you have the first you can just simply add 7 days to the date to get the next date.
>

David,

Very interesting and creative approach. I like it. Thank you very much for your helpful suggestion.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform