Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFldState() and TableRevert()
Message
De
26/01/1999 10:32:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SetFldState() and TableRevert()
Divers
Thread ID:
00180253
Message ID:
00180253
Vues:
58
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!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform