Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetNextModified says rec is changed, GetFldState says no
Message
From
24/06/2022 00:27:59
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
23/06/2022 12:50:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01684558
Message ID:
01684561
Views:
52
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform