Re: Error Binding Parameter 0

Rich Shepard <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Wed, 20 Dec 2006, Rich Shepard wrote:

>         self.appData.cur.execute("insert into variable (var_name, var_desc, \
>                                                    policy_name, sub_policy_name) values \
>                                                    (?,?,?,?)", \
>                                  (varDlg().varName, varDlg().varDesc,\
>                                  varDlg().polName, varDlg().subName))

   I've figured out that it's the continuation character ... again.

   What do you suggest as a way of re-writing the above as a set of
concatenated strings? My first attempt generates an error near the comma in
the third line.

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)    |            Accelerator
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.