Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change the date, year and month
Message
From
15/01/2002 12:44:28
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00604905
Message ID:
00604958
Views:
27
>>Thank you Gerald for your suggestion.
>>
>>
thisform.oleControl1.Object.value = gomonth(datetime(),12)
>>
>>This worked only for moving to the next year, and subsequent clicks on the >> buton did not move the date by another 12 months.
>>
>>- Ravi
>
>Of course, the sample use the current datetime and jump 12 months in the future, use the current value of the control instead.
>
>thisform.oleControl1.Object.value = gomonth(thisform.oleControl1.Object.value,12)
>
>:-)
Did it Gerald. Thanks much :)

- Ravi
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Reply
Map
View

Click here to load this message in the networking platform