Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Year portion of dates default inconsistently
Message
De
01/06/2001 12:27:31
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/06/2001 12:15:34
Chris Crachiolo
Blackmoor Associates Incorporated
New York City, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00513887
Message ID:
00513897
Vues:
12
>I am seeing some inconsistency in how dates are handled by text boxes when SET CENTURY ON and SET CENTURY TO 20 are used. In all cases, if the year portion of the date is omitted it defaults to the current year as expected. However, if a two-digit year is entered, on some forms it defaults properly, but on others (at least one that I know of) it defaults to the PRIOR CENTURY. For the life of me, I can't see what I'm doing differently from one form to another. Am I missing something, or is this just a bug in VFP? (I'm still using version 5.0a.)

Chris,
set century .. trollover ..
setting is scoped to current data session. Probably form is using private datasession. Fix in form.load or DE.beforeopentables
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform