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:14:43
 
 
À
29/06/1998 14:12:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00112588
Message ID:
00112599
Vues:
19
>Hi Edward.
>
>>>How do you display the year only of the date field on a FORM?
>>
>>Thisform.Textbox.Value=YEAR(table1.datefield)
>
>Yeah but ensure to set ReadOnly = .T. or Enabled = .F. or else ka-boom...maybe THISFORM.Label.Caption=ALLTRIM(STR(YEAR(table1.datefield))) also??

What is ka-boom? :). It can be edited, if necessary (it's 'value' not 'controlsource').
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform