Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange problem
Message
De
30/10/2003 10:14:41
 
 
À
30/10/2003 10:11:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00844512
Message ID:
00844513
Vues:
18
>here is the code
>
>
>LOCAL LACC_YEAR_AVANT
>LOCAL ACC_YEAR
>
>ACC_YEAR = 2003
>LACC_YEAR_AVANT = 0
>
>
>LACC_YEAR_AVANT = ACC_YEAR - 2
>
>MESSAGEBOX(STR(LACC_YEAR_AVANT))
>
>when i do th messagebox i get -2 but it suppose to be 2001
>
>why ?

Do you have a field called LACC_YEAR_AVANT? because if I run your code you posted I get 2001.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform