General information
Title:
VFP6/VFP7 inconsistency on tableupdate
I have the following code in the SAVE button of a form.
DIMENSION cErrorArray[1,1]
IF ! Tableupdate(.T.,.F.,ALIAS(),"cErrorArray")
=MESSAGEBOX("Someone else has changed this record",MB_ICONEXCLAMATION)
ENDIF
It works fine in VFP6. But in VFP7 I get error 1585, Update Conflict, which causes the given warning to display. The tableupdate is acting on a table view that is bound to a grid (it's an order detail grid).
The debugger shows the correct alias is selected immediately before the update is issued.
Any one else encountered this???
Thanks
Barry Sutton
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only