Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date column in the grid with SET CENTURY ON
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00993628
Message ID:
00993735
Views:
25
This message has been marked as the solution to the initial question of the thread.
>Hi everybody,
>
>If I set century on, how can I still display only 2 digits in date field in the grid? Should I set format property for this column to be YS? Is it the only possible solution (I don't want to use special textbox class in the grid)?
>
>Thanks in advance.

Hi Nadya,

This should work:
myform.mygrid.column1.Sparse=.f.
myform.mygrid.column1.text1.Century = 0
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform