Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetNextModified says rec is changed, GetFldState says no
Message
De
24/06/2022 00:27:59
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
23/06/2022 12:50:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01684558
Message ID:
01684561
Vues:
54
>>The error handler loops through all tables and reports their buffering status and whether any records have changes. For the relevant table, GetNextModified() reported a single changed record, but GetFldState() for that record returned all 1's.

Hi Tamar, you seem to specialize in these weird ones at the moment! ;-)

Not sure this applies here when unload() definitely is supposed to fire last, but perhaps another reason to move focus to a hidden dummy control before testing for changes in case of some weirdness involving edits in a grid, or control with format property or valid() with unexpected action, or some other sneaky change mechanism.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform