Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public variable changes during tableupdate()
Message
From
22/02/2005 13:33:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Public variable changes during tableupdate()
Miscellaneous
Thread ID:
00989337
Message ID:
00989337
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform