Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update Conflict in Cursor
Message
De
31/08/2010 19:03:45
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
31/08/2010 13:15:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01479437
Message ID:
01479513
Vues:
34
Hi Ken,
Whenever you call TABLEUPDATE you should note the return and use aerror to save the message. Our cursor adapter class has a TableUpdate method, so the TABLEUPDATE is wrapped and handled in the class.

RetVal = TABLEUPDATE(m.nRows, m.lForce, m.cTableAlias)
IF NOT m.RetVal
* AERROR() array will return the issue, so this may help the
* developer to know why the cursorAdapter is failing.
* Here we use an class based on Exception and it uses AERROR to get all the error data.
ENDIF

>>>HeLlo
>>>Im gettting a " Update conflict in cursor "Table name "" Error. Ive narrower ed down the occurrence to whenever i save my form ,Exit an calls nother one. Im still not exctly clear what is doing this so can anyone point out a thing or two tht causes those errors?
>>
>>It's not an easy problem to handle. Check previous threads on this topic:
>>
>>Message ID: 1286692
>
>
>Thanks for this link. I think its fixed.
>A certain table which i was using had a default variable which i deleted but no other value was over writing it so idk why id didnt work.thats why i said i think. Will do more testing
Charlie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform