Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public variable changes during tableupdate()
Message
De
22/02/2005 13:33:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Public variable changes during tableupdate()
Divers
Thread ID:
00989337
Message ID:
00989337
Vues:
63
I have an old program now being rewritten in visual. It uses a public variable 'gnitemnumb'. When a TABLEUPDATE() is issued the variable value is changing. When we set DEBUG on and trace the code it does not change. The code is as follows:
gnitemnumb = 1                         && variable is set
TABLEUPDATE(.t.)                          
wait window STR(gnitemnumb)            && displays a 0
The name 'gnitemnumb' is not associated with the table in any way (i.e. field name, index name) and if we change the variable name to 'gnitemnumb1' it all works fine.

Any ideas as to why this may be happening?

Thanks,
Hetty
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform