Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET CENTURY & Data Sessions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00162231
Message ID:
00162303
Vues:
17
>One other question Jim. When I tried my private data session example I did a SET CENTURY TO 19 ROLLOVER 60 and the text boxes didn't show the 1900 part of the year. Sylvain suggested that I had to do ...
>
>SET CENTURY ON
>SET CENTURY TO 19 ROLLOVER 60
>
>... which I tried and it gave me the 1900 part of the year, but the one date value that should have been 2045 showed up as 1945. Any idea why this would be? It seemed to ignore the second SET CENTURY command.
>
>Thanks again!

Mark,

Using date constants can be confusing. The constant is resolved when the code is compiled NOT when it is run. That's why I suggest using the strictdate format for date constants.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform