Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TABLEUPDATE() Fails
Message
De
05/10/2016 17:38:02
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01641157
Message ID:
01641664
Vues:
78
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform