Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you display the year of the date field on a FORM?
Message
From
29/06/1998 14:14:43
 
 
To
29/06/1998 14:12:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00112588
Message ID:
00112599
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform