logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Error Explanation/Referential Integrity Question: msg#00001

Subject: Re: Error Explanation/Referential Integrity Question
 -------------- Original message ----------------------
From: Rich Shepard <rshepard-KkAdcJ6K5ch3D81bB7cC2g@xxxxxxxxxxxxxxxx>
>    I tried deleting a selected record using this syntax:
> 
>    def OnDel(self, event):
>      self.appData.cur.execute ("DELETE from Variable where name = '%s'" % 
> self.vname)
>      self.appData.con.commit()
> 
> and python complained
> 
> Traceback (most recent call last):
>    File "/data1/eikos/variablePage.py", line 547, in OnDel
>      self.appData.cur.execute ("DELETE from Variable where name = '%s'" % 
> self.vname)
> pysqlite2.dbapi2.OperationalError: near "wxComboBox": syntax error
> 
>    The row I want to delete is the text ctrl portion of the wx.ComboBox, not
> in the list portion. How do I learn just what the syntax error is on this
> operation?
> 
>    On the topic of deleting records, I have a hierarchy of related tables and
> need to implement DELETE triggers for them. My assumption is that each table
> needs a trigger for the one immediately referenced by it, so I need a
> cascade of triggers working down the hierarchy. For example, if table foo
> has rows with details for each in table bar, and the rows in table bar have
> foreign key related rows in table baz, then I need to create a trigger on
> foo that checks for rows on bar, a trigger on bar that checks for rows on
> baz, then delete the applicable rows working my way up the hierarchy. Is
> this correct?
> 
>    Regardless, until I figure out what 'wxComboBox' syntax error means, I'm
> stymied.
> 
> Rich

I think you are going to need to show us the portion of the code that refers to 
'wxComboBox'. 
My guess is that it is a problem with how self.vname is generated.

--
Adrian Klaver
aklaver-Wuw85uim5zDR7s880joybQ@xxxxxxxxxxxxxxxx


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe