Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6/VFP7 inconsistency on tableupdate
Message
From
11/11/2001 16:46:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP6/VFP7 inconsistency on tableupdate
Miscellaneous
Thread ID:
00580296
Message ID:
00580296
Views:
65
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
Map
View

Click here to load this message in the networking platform