Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetNextModified and GetFldState don't agree
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
GetNextModified and GetFldState don't agree
Miscellaneous
Thread ID:
01222033
Message ID:
01222033
Views:
67
I have a situation where a client said they were getting a "save changes?" question each time they moved to a new record on the sales orders form. Turns out they weren't hallucinating (you can always hope, right?). So I traced it. Yep, GetNextModified returned 1 on the line items table (local view), yet it was definitely not modified. My framework has the ability to "check each record", which means go to the record that is supposedly modified and use GetFldState to see if it's truly modified (I wish I could remember why I added this feature - I think it was just a way for me to check which field got unintentionally modified in order to correct a bug). Anyway, GetFldState returns all 1s. Kind of strange. Don't remember seeing this before. If I leave the CheckEachField option turned on, the system correctly divines that the record is not changed and doesn't ask them to save, but I'm presently at a loss to see why this would happen. Anybody seen this one?

Russell Campbell
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Next
Reply
Map
View

Click here to load this message in the networking platform