Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFldState() and TableRevert()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00180253
Message ID:
00180752
Vues:
13
>I was struggling with views were FoxPro in fact 'wrongly' indicates a record as being changed.
>This is when a bound the wiew's field to the control and have some code in the value_assign.
>So I tackle it in there where I determine if the values are the same.
>If so I change the Field status with SetFldSate().
>This to avoid the 'you have uncomitted changes...'
>
>Still fox keeps on complaining.
>Checked with the GetNextModified() and indeed it indicates that the record is changed, but apparantly not always???
>
>Has somebody a reasonable explanation.
>I really want to tackle this specific case cause I don't want to tablerevert() like that. It doesn't seem to be safe, or else have to check each field!!


Yves,

While you are at it (remember the other message), check the memento thing in eBizObj. We dropped the GetFldState() and now work with a memento that's nothing more than a picture of your data before it got edited.

José
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform