[Gambas-bugtracker] Bug #1324: ODBC driver crack status 1: canno make any query!

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri May 25 17:47:31 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1324&from=L21haW4-

Comment #4 by PICCORO LENZ MCKAY:

SOLVED BUT NEW BUG; Result object are NULL now..  I'LL Mark as solved and fill new bug! due now querys can exec!
.
  Try $conexionodbc.Exec("CREATE TABLE IF NOT EXISTS tabla1 ( columna1 VARCHAR(20), columna2 VARCHAR(20))")
  Print Error.Text
' . 
  Try rs = $conexionodbc.Exec("INSERT INTO tabla1 ( columna1, columna2) VALUES ( 'pepe', 'pablo')") ' !SOLVED!
'. 
  Try rs = $conexionodbc.Exec("SELECT columna1, columna2 FROM tabla1 ") ' BUG: HERE RETURN NULL NOW!
  While (rs.Available) ' <--- NERE receive null
    Print "registro encontrado: valor columna1:" & rs!columna1 & ", valor columna2:" & rs["columna2"]
    rs.MoveNext()
  Wend

PICCORO LENZ MCKAY changed the state of the bug to: Fixed.




More information about the Bugtracker mailing list