Hello All,
I need your help with:
*----------
cQuery = 'SELECT * FROM database.lfx_wc_orders'
*---------- Connect to MySQL Server and import all records
gnConnHandle_CR = Sqlstringconnect("Driver={MySQL ODBC 8.0 Unicode Driver};Server=123.123.123.123;Database=database;Uid=abe;Pwd=d")
If gnConnHandle_CR <= 0
= Messagebox('Cannot make connection', 16, 'MySQL Connect Error')
Else
Wait Window "MySQL Server Connection made" Nowait
lnsuccess_fetch_new = SQLExec( gnConnHandle_CR, cQuery , 'tempcursor')
endif
My problem is when I browse tempcursor all I see in the first record field1 varbinary, field2 -3, field3 255 and the rest of the records .Null. etc...
I have uploaded an image showing the cursor content.
Please help, can not figure out what the problem might be.
Thanks,
Abe
I need your help with:
*----------
cQuery = 'SELECT * FROM database.lfx_wc_orders'
*---------- Connect to MySQL Server and import all records
gnConnHandle_CR = Sqlstringconnect("Driver={MySQL ODBC 8.0 Unicode Driver};Server=123.123.123.123;Database=database;Uid=abe;Pwd=d")
If gnConnHandle_CR <= 0
= Messagebox('Cannot make connection', 16, 'MySQL Connect Error')
Else
Wait Window "MySQL Server Connection made" Nowait
lnsuccess_fetch_new = SQLExec( gnConnHandle_CR, cQuery , 'tempcursor')
endif
My problem is when I browse tempcursor all I see in the first record field1 varbinary, field2 -3, field3 255 and the rest of the records .Null. etc...
I have uploaded an image showing the cursor content.
Please help, can not figure out what the problem might be.
Thanks,
Abe