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
 
À
29/06/1998 14:08:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00112588
Message ID:
00113096
Vues:
24
Just curious Ed....

Why would'nt you create a class? I know you are probably going to be PO'd at me here, but isn't this suggestion a little shortsighted? I mean, VFP is OO after all.. I am just interested in your design criteria here.


>>>>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform