Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date display as MM/DD/CCYY
Message
From
16/12/2015 13:21:42
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01629015
Message ID:
01629021
Views:
44
>>>>>Hi Gang!
>>>>>
>>>>>I have a grid with Patient information in it.
>>>>>
>>>>>The Birth_Date field is a date field displayed in a grid along with other information.
>>>>>
>>>>>The display shows the dates as MM/DD/YY.
>>>>>
>>>>>I would like to show it as MM/DD/CCYY. I don't want to change the index, so how would I go about it for displaying this way in the grid ?
>>>>>
>>>>>Thanks!
>>>>>Tommy
>>>>
>>>>SET CENTURY ON?
>>>
>>>I was hoping to just restrict this to the grid column in question, and not globally to the form.
>>>
>>>Any other ways? Thanks!!
>>
>>How about to set DateFormat and Century properties of the textbox in the column?
>>Not sure if this will work :-)
>
>A side question.....
>
>Is there a function that will return the TAG that is open for the table at the time you enter a method.... so I can save it, change the tag so I can do a seek, then reset the tag back to what it was ?
>
>Thanks

Try getwordnum(Set('Order'),2) or simply tag()
Previous
Reply
Map
View

Click here to load this message in the networking platform