Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetNextModified kind of works
Message
De
14/09/2004 13:22:25
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
14/09/2004 08:43:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00941853
Message ID:
00941988
Vues:
62
>>>>The way this function works seems very inconsistent, though I know it must be just my lack of understanding regarding its use. I searched and found tons of stuff talking about how it works - seemingly only in a controlled laboratory environment - and just as much stuff talking about how it doesn't work. It appears to have more false-positives than a $2 pregnancy test. Can anyone tell me definitively when GetNextModified should return a value other than zero? The way the code I'm looking at works is by looping through an array of the buffered tables in the DE and detemining if there has been a change by using GetNextModified. Sometimes there are some processes that will run that change nothing, yet the function returns that something was modified. Any clarification would be appreciated.
>>>
>>>GetNextModifed would return a value other than 0 if record is new (negative) or modified.
>>>However even if no field is actually changed a false positive might be caused by SetFldState() or modifying and restoring a value.
>>>Cetin
>>
>>I want to make sure I understand. If SetFldState is not used and a field value has not been changed (or changed back) and the deleted flag has not been toggled, GetNextModified will return zero? Always? No exceptions?
>
>Yes, at least I didn't get any exceptions.
>Cetin

When exactly does GetNextModified start from? Does it look back to when the table was first buffered with CursorSetProp in the DE? Is there a way to "reset" the table so that I can control the start?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform