Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetNextModified says rec is changed, GetFldState says no
Message
From
27/06/2022 06:32:02
 
 
To
24/06/2022 06:46:51
Lutz Scheffler (Online)
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:
01684572
Views:
43
>>>>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.
>
>Hi Tamar,
>
>I know, anyway that are my ideas. I have enough crap only happen on customers place (see thread #01684512). I see a way, but can never raise the problem the customer has...
>
>But somehow you must have introduced GetNextModified? Or is this some stupid default, just looking up GetNextModified and update only if GETFLDSTATE returns something? I mean, can you at least put some different app there, that sort of writes a protocol?
>Else there is not much hope ...

Yeah, I'll add some code to the error handler to catch cases like this (though this is the first I've seen) and add some more info to help me track it down if it happens again.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform