Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to update CA with C(10) binary field
Message
De
19/08/2005 16:00:42
 
 
À
19/08/2005 06:44:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01042202
Message ID:
01042401
Vues:
28
This message has been marked as the solution to the initial question of the thread.
Hi Borislav,

This is a bug in the way VFPOLEDB handles binary parameters. The problem can be avoided by specifying custom update command as follows:
oCA.UpdateCmdDataSourceType="ADO"
oCA.UpdateCmdDataSource=createobject('ADODB.Command')
oca.UpdateCmdDataSource.ActiveConnection = loConnDataSource
oCA.UpdateCmd="UPDATE test SET testval=?catest.TESTVAL WHERE testval=?OLDVAL('TESTVAL','catest')"
Thanks,
Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform