Riesco a connettermi ma ma non riesco a fare una select da codice su mysql.
Qualcuno ha avuto a che fare con VB e Mysql?
Cioa e grazie in anticipo.....
Riesco a connettermi ma ma non riesco a fare una select da codice su mysql.
Qualcuno ha avuto a che fare con VB e Mysql?
Cioa e grazie in anticipo.....
GoVegan!
http://www.ivegan.it
http://www.biello.it
strgSQL = "SELECT * FROM tablename"
Adodc1.RecordSource = strgSQL
Adodc1.Refresh
In pratica Mysql mi restituisce un errore di sintassi....![]()
GoVegan!
http://www.ivegan.it
http://www.biello.it
In pratica scordavo
Adodc1.CommandType = adCmdUnknown
quindi per faer una query con Myodbc da vb in MySql
strgSQL = "SELECT * FROM tablename"
Adodc1.CommandType = adCmdUnknown
Adodc1.RecordSource = strgSQL
Adodc1.Refresh
Grazie lo stesso![]()
GoVegan!
http://www.ivegan.it
http://www.biello.it