Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor adapter returns .F. for CursorFill() on UPDATE
Message
From
04/03/2006 13:41:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Cursor adapter returns .F. for CursorFill() on UPDATE
Miscellaneous
Thread ID:
01101501
Message ID:
01101501
Views:
57
It's probably a syntax problem but I can't seem to find the proper way to avoid CursorFill() to return .F. when I have an update.
         loConnection=CREATEOBJECT('ADODB.Connection')
         loConnection.Open(This.cSQLStringConnect)
         loCommand=CREATEOBJECT('ADODB.Command')
         loCursor=CREATEOBJECT('CursorAdapter')
         loCursor.Alias=lcCursor
         loCursor.DataSourceType='ADO'
         loCursor.DataSource=CREATEOBJECT('ADODB.RecordSet')
         loCursor.SelectCmd=This.cSQL
         loCursor.DataSource.ActiveConnection=loConnection
         loCommand.ActiveConnection=loConnection
         IF NOT loCursor.CursorFill(.F.,.F.,0,loCommand)
         ENDIF
What would be the proper syntax to have an update command to be properly executed and have CursorFill() to return .T.?
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
Next
Reply
Map
View

Click here to load this message in the networking platform