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)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only