Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding where table value gets zapped?
Message
De
11/01/2008 17:19:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01281266
Message ID:
01281271
Vues:
8
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform