Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using CursorAdapter() but no update
Message
From
28/04/2003 19:06:58
 
 
To
28/04/2003 18:47:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00782518
Message ID:
00782526
Views:
22
Hi Michel.

>Can someone tells me what is missing here so this CursorAdapter() approach would update the required changes I do when I browse the cursor?
>
>
>LOCAL loCursorAdapter
>loCursorAdapter=CREATEOBJECT('CursorAdapter')
>loCursorAdapter.DataSourceType='ODBC'
>loCursorAdapter.DataSource=Sqlstringconnect('Driver=SQL server;Server=MyServer; Database=MyDatabase')
>loCursorAdapter.SelectCmd='select * from news'
>loCursorAdapter.Tables='News'
>loCursorAdapter.KeyFieldList='Numero'
>loCursorAdapter.UpdatableFieldList='AddUser'
>loCursorAdapter.Alias='Temp'
>loCursorAdapter.CursorFill()
>BROWSE
>
You need to set the UpdateNameList property as well.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform