NEED HELP: Has anyone successfully used SQLite Prepare and Bind procedures ???

I am trying to do a UPDATE operation within my application. I am trying to use prepare with Bind

local stmt = db:prepare(“UPDATE test SET lastname = ? WHERE id = ?”)
stmt:bind(newName, 1)
stmt:exec()

However this doesn’t seem to work within Corona environment…can someone help me out here? [import]uid: 2949 topic_id: 3091 reply_id: 303091[/import]