Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TABLEUPDATE() Fails
Message
From
05/10/2016 17:38:02
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01641157
Message ID:
01641664
Views:
77
>>Rich,
>>
>>Are you using a RV? If so, check a couple of things in View Designer:
>>
>>1) Ensure the RV is set to update, not delete/insert.
>>2) If the table has an autiincrementing primary field, turn off update for that field.
>>
>>Can't remember for MySQL - but both of those can cause issues on some databases.
>
>Good questions. I work with Rich. The "magic" seems to be that Visual Maxframe creates dynamically through code the Remote View. Therefore, we are unable to view the RV in the IDE. Since Visual MaxFrame creates the RV we cannot really see into even though we can see a few things using cursorgetprop().

VMP does not create the RV - it prepares a cursor to update a remote table. The method is called remotesptcursor2remoteview. What normally happens is you make changes to the cursors created when you ran queries against the backend. Then you call saveaction only. The framework does the tableupdates for you. You are not supposed to do them yourself.
Previous
Reply
Map
View

Click here to load this message in the networking platform