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:18:35
 
 
To
29/06/1998 14:08:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00112588
Message ID:
00112600
Views:
15
>>>>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)
---
thanks Ed - it works... :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform