Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate
Message
De
01/11/1999 12:35:50
 
 
À
01/11/1999 12:03:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00284844
Message ID:
00284880
Vues:
11
>MyForm has a grid in which I display MyView for editing. I have a Save button and a Cancel button on MyForm. I want to use the Save button to update MyTable and the Cancel button to discard changes. Simple enough, but I cant make any sense out of TableUpdate(1,.T.,MyTable,?,?) which I have in the click of the Save button. I get error messages "alias not found".

With TableUpdate, you have to put your alias as a string, ie surrounded by quotes. Try this:

TableUpdate(1, .T., "MyView")

And by the way it is the view's alias that goes there, not the table's.
Sylvain Demers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform