Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding where table value gets zapped?
Message
From
11/01/2008 16:49:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Finding where table value gets zapped?
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01281266
Message ID:
01281266
Views:
50
I have a following weird situation (that I can duplicate):

Application starts, a free table is opened in INIT method of a form and values from this table are set to the .value properties of some controls. Then the table is closed.

Then, in another button click() method, on code SET DEFAULT TO (cMyDir) where cMyDir does not exist the application bombs with standard message Ignore, Cancel, etc. If I click on Cancel, some fields of the table (see above) lose values. The strange thing is that table seem to be closed.

My question, how can I set the debugger to stop when the value in a field is zapped?

Any other suggestions would be greatly appreciate.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform