Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding where table value gets zapped?
Message
From
11/01/2008 17:19:52
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01281266
Message ID:
01281271
Views:
7
This message has been marked as the solution to the initial question of the thread.
>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?
>

Put the alias.field in the Watch window and set a breakpoint. That'll stop you as soon as that field (of the current record) changes.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform