Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CursorAdapter() but no update
Message
De
29/04/2003 00:23:19
 
 
À
29/04/2003 00:17:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00782518
Message ID:
00782565
Vues:
13
>You have to include Numero field into UpdateNameList.

It's confusing as I don't want Numero to be updatable.

IAC, here's what I have now and it still doesn't work:
LOCAL loCursorAdapter
loCursorAdapter=CREATEOBJECT('CursorAdapter')
loCursorAdapter.DataSourceType='ODBC'
loCursorAdapter.DataSource=SQLSTRINGCONNECT('Driver=SQL server;Server=MyServer; Database=MyDatabase')
loCursorAdapter.SelectCmd='select Numero,AddUser from news'
loCursorAdapter.KeyFieldList='Numero'
loCursorAdapter.UpdatableFieldList='AddUser'
loCursorAdapter.UpdateNameList='Numero News.Numero,AddUser News.AddUser'
loCursorAdapter.CursorFill()
BROWSE
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform