Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to update CA with C(10) binary field
Message
 
À
19/08/2005 16:00:42
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:
01042604
Vues:
17
Thanks, Aleksey


>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.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform