Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET CENTURY
Message
 
À
30/11/1999 10:40:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00296874
Message ID:
00296881
Vues:
18
>Let me give you one more stupid question -
>can the "SET CENTURY" setting be defined automatically, dependently by current date, or I need to set it handly with every VFP starting? My VFP version is 5.0.

Sure. If I understand you correctly. In the main prg of your app (and in the load of any forms with a private datasession).
IF date >= {^2000/01/01}
  SET CENTURY ON
ELSE
  SET CENTURY OFF
ENDIF
Personally, I always have SET CENTURY ON.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform