Claudio Costa
Programmer
- Apr 1, 2025
- 7
My code:
STORE SQLCONNECT('WebBrowser', 'root', 'mysql') TO gnConnHandle
IF gnConnHandle <= 0
= MESSAGEBOX('Cannot make connection', 16, 'SQL Connect Error')
ELSE
= MESSAGEBOX('Connection made', 48, 'SQL Connect Message')
SQLEXEC(gnConnHandle, 'SELECT * FROM artigos', 'mapa')
ENDIF
VFP crashes in the SQLEXEC line
Im using:
VFP 9
MySql ODBC 8.0 Unicode Driver.
Thanks.
STORE SQLCONNECT('WebBrowser', 'root', 'mysql') TO gnConnHandle
IF gnConnHandle <= 0
= MESSAGEBOX('Cannot make connection', 16, 'SQL Connect Error')
ELSE
= MESSAGEBOX('Connection made', 48, 'SQL Connect Message')
SQLEXEC(gnConnHandle, 'SELECT * FROM artigos', 'mapa')
ENDIF
VFP crashes in the SQLEXEC line
Im using:
VFP 9
MySql ODBC 8.0 Unicode Driver.
Thanks.