Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you display the year of the date field on a FORM?
Message
De
29/06/1998 14:08:56
 
 
À
29/06/1998 14:06:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00112588
Message ID:
00112596
Vues:
20
>>>How do you display the year only of the date field on a FORM?
>>
>>Thisform.Textbox.Value=YEAR(table1.datefield)
>---
>Hi Edward
>I have a value field on the form called txtyear.. It looks
>like 01/01/98. In the properties, where do I put:
>Thisform.Textbox.Value=YEAR(table1.datefield)?
>I would like txtyear to display like: 1998
>thanks

***Form.Refresh (or some other place fired each time your change record)
Thisform.txtYear.Value=YEAR(table1.datefield)
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform