Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding where table value gets zapped?
Message
From
12/01/2008 07:17:54
 
 
To
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:
01281321
Views:
6
>>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

Thank you very much for your help.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform