Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update Conflict in Cursor
Message
From
31/08/2010 19:03:45
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
31/08/2010 13:15:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01479437
Message ID:
01479513
Views:
33
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
Previous
Reply
Map
View

Click here to load this message in the networking platform