[Gambas-user] Database Edit error with SQlite
Jeff Johnson
"Jeff Johnson" at direcway.com
Sat Aug 28 03:09:52 CEST 2004
$hConn AS Connection
rWeather AS result
PUBLIC SUB Form_Open()
$hConn = NEW Connection
WITH $hConn
.Type = "sqlite"
.Name = "/home/jeffjohnson/projects//Database/WXaprs/WXaprs.db"
.open
END WITH
END
PUBLIC SUB Button1_Click()
DIM rWeather AS result
$hConn.Begin
>>>>I do not get past this line
rweather = $hconn.edit("ClimateData","Callsign = &1","THORN")
>>>>>I get an error "Type mismatch: Wanted Void, Got String instead"
>>>>What am I doing wrong?
'rweather.update
$hConn.commit
END
More information about the User
mailing list