Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFldState() and TableRevert()
Message
From
26/01/1999 10:32:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SetFldState() and TableRevert()
Miscellaneous
Thread ID:
00180253
Message ID:
00180253
Views:
57
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!!
Next
Reply
Map
View

Click here to load this message in the networking platform