Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date column in the grid with SET CENTURY ON
Message
De
08/03/2005 10:38:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00993628
Message ID:
00993646
Vues:
22
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform