Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odbc MySQL
Message
De
20/02/2004 09:35:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Odbc MySQL
Divers
Thread ID:
00879178
Message ID:
00879178
Vues:
49
Hello,
I have the next code :
nhandle = sqlconnect('Estadis_ds','root','')
= sqlsetprop(nHandle, 'Transactions', 2) && Manual transactions
select 1
use hesta alias esta
select esta
go top
do while .not. eof()
nhandle,"insert into tabla1 values (esta->campo1)")
sqlexec(nhandle)
sqlcommit(nhandle)
select esta
skip
enddo
select 1
use
sqldisconnect(nhandle)
The problem is :
This code not write in the MySQL table "tabla1", I execute MySQL front and the table "tabla1" was empty.
The ODBC is the correct and no errors found.
Could you help me ?
Many thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform