Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strict date problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00314755
Message ID:
00317089
Vues:
17
Lorne,

Your response is confusing.

The suggestion was to use a TextBox in teh dialog. With a textbox there is no need for the user to type in the strictdate format for a date constant, they can simply type the date into the textbox as a date;

With;

SET DATE AMERICAN
SET CENTURY TO 19 ROLLOVER 80

The user types into the textbox:

01/01/00 <=Enter

(this doesn't matter as to whether the SET CENTURY ON or OFF is in use)

The value of the textbox is the date value {^2000/01/01}.

What does this have to do with Strictdate? SET STRICTDATE is an assistant to you in finding code that has questionable data handling in it. If you set it to 0 no checking is done, 1 and constants are checked for the strictdate format, and 2 to check constants and for the use of date fucntions that are dependent on the SET DATE setting.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform