Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetNextModified says rec is changed, GetFldState says no
Message
From
24/06/2022 06:38:20
 
 
To
23/06/2022 14:21:13
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01684558
Message ID:
01684562
Views:
50
>>If you like to follow the conversation to this topic until now: https://twitter.com/TamarGranor/status/1539994463732436993
>>
>>giggle
>>
>>I move over here.
>
>From twitter
>>Yeah, I can do stuff like that, but this is happening in a pretty loop. There's nothing between the GetNextModified call and the GetFldState call that would change the record
>
>The SetFldState could happen before GetNextModified?

I've confirmed that SetFldState is NOT used in this project.

>Is GetNextModified returning the recordnummer after GetFldState?
>

Great question. No way to check that. GetNextModified doesn't return any more changed records for this table, but I don't have a way retroactively to find out whether it would have in this case. And, as I said, I don't have steps to reproduce the problem.


>UPDATE
>
>A loop checking OLDVAL might reveal a field changed, but not visible to GetFldState. It's just an idea for testing.

Hmm, not sure what that would look like, but again, I can't track it down.

I guess I could add to the error handler some code that runs only in case a record found as changed by GetNextModified returns all 1s to GetFldState, in case this ever happens again.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform