Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change the date, year and month
Message
De
15/01/2002 12:44:28
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00604905
Message ID:
00604958
Vues:
26
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform