Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date column in the grid with SET CENTURY ON
Message
From
08/03/2005 10:38:49
 
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:
00993646
Views:
23
Hi Nadya

I haven't got any dates in grids to test this on but how about:

The date in the grid is in a text box, right?
Set the DateFormat property to American. I believe only format 0 and the long & short date options obey set century.

HTH

Terry

UPDATE: Oh, I read your question as you only wanted a 2-digit year. Now I'm not sure.

>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.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform