[Gambas-user] GB.DB Edit use string with numbers: wrong or cannnot scape?
PICCORO McKAY Lenz
mckaygerhard at ...626...
Tue Jul 16 21:07:26 CEST 2013
See the documentation: http://gambasdoc.org/help/comp/gb.db/db/edit that
seems the parameters if provides a text but this text only have numbers ,
interprete this parameter as number (such integer) and if column is type
Varchar, resultset never retunrs any results..
how can i force the parameter and filter to act as text parameter if are
only numbres?
example code:
wtable = hconn.Edit("sysasis_registro", "cod_ficha = &1", id)
wtable!id = id
wtable!name = "pepe trueno"
wtable.Update
and another question, how to pass multiple arg, only added "and xx= &2 "
etc etc?
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
More information about the User
mailing list