Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odbc MySQL
Message
From
20/02/2004 09:35:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Odbc MySQL
Miscellaneous
Thread ID:
00879178
Message ID:
00879178
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform