Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using CursorAdapter() but no update
Message
From
29/04/2003 00:23:19
 
 
To
29/04/2003 00:17:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00782518
Message ID:
00782565
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform