Re: Error Explanation/Referential Integrity Question

Rich Shepard <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Tue, 2 Oct 2007, Adrian Klaver wrote:

> Is this value assigned to a variable?

Adrian,

   Yes: self.vname.

> Should self.vname be self.vname.GetValue()?

   Well, duh! Of course! self.vname is a wxPython object, not the string
associated with that object. Sigh.

> My guess is, the wxComboBox is the one that the vname value comes from.
> The syntax error may be that the value being assigned to %s is incorrect.

   I corrected that error, and there are no more error messages, but the
deletion does not occur. Now I need to track down why not.

Many thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |         Accelerators(TM)
<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.