Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>>>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! ;-)
Don't mean to brag, but I can pretty handle the normal ones. It's the oddballs where I need to ask for help.
>
>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.
That's an interesting idea. There's no grid on the form in this case, but lots of Valid code. I've definitely fixed a bunch of issues that resulted from Valid code firing in View mode and leaving me with changed fields. That's worth checking for, though until now, whenever that's happened, GetFldState() tells me which field is involved.
Tamar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement