EdLeafe wrote:
>
> Are you using SQLite as your database? If so, replace the '%s' with '?'
> and try again.
>
Thank you, Ed.
Magic happend with '?' in addWhere clause. Now here is another problem. As I
understand, bizobject created 'on the fly' and when I put
biz.addWhere("yr = ?")
biz.setParams(y)
biz.requery()
in dTextBox object ( onHit Method), and the rest of the code (connection to
the database, addFields, etc) is in AfterInit Method of dForm object. I'm
getting bunch of errors, like:
"dabo.dException.DBQueryException: Incorrect number of bindings supplied.
The current statement uses 2, and there are 1 supplied."
Where can I put my search condition and addWhere clause?
Thank you very much for your help with familiriazation of Dabo.
--
View this message in context:
http://old.nabble.com/Browse-syntax-tp35212683p35260716.html
Sent from the dabo-users mailing list archive at Nabble.com.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]