Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with VFP + mySQL5 + datetime
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01120299
Message ID:
01120902
Vues:
12
My "option" parameter (in connectstring) contain value 131072 (check MySQL ODBC parameters)

MartinJ

>if mySQL table has a blank datetime value, VFP remote view doesn't understand and generates an conflict update error.
>Otherwise, if column has a null value VFP (can be a default value) VFP R.V. can save datetime info without a problem.
>
>This trick just works with remote views in SQL Pass Through isn't necessary.
>
>Weird, no ?
>
>
>>Hello.
>>I must to update some info in a mySQL5 dataBase from third-party software.
>>I have a remote view updating a table in particular where is a DATETIME column.
>>
>>the code is:
>>
>>Replace myRemoteView.myDate WITH DATETIME ( )
>>
>>When I do the TABLEUPDATE (.T.) It gives me the follow error message:
>>
>>1585
>>Update conflict in cursor ...
>>
>>
>>Only with DATETIME column this happens, with the others columns of a any type it's works fine.
>>
>>Already I have tried all SET DATE combinations.
>>
>>It works perfectly well using SQL Pass Through.
>>
>>Thanks in advance.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform