Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor adapter returns .F. for CursorFill() on UPDATE
Message
De
04/03/2006 13:41:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Cursor adapter returns .F. for CursorFill() on UPDATE
Divers
Thread ID:
01101501
Message ID:
01101501
Vues:
59
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform