On Thursday 23 August 2007 15:56, Uwe Grauer wrote:
> johnf wrote:
> > On Thursday 23 August 2007 15:16, Uwe Grauer wrote:
> >> Sorry, i missed the call to currval()!
> >> Are you sure that the retrieve of the sequence name works for you?
> >> Please check:
> >>                 tempCursor.execute(sqltablestr)
> >>                 rs = tempCursor.fetchall()
> >>                 sqlWithseq_name="""select currval('%s') as curval""" %
> >> (rs[0][0],)
> >
> > Good catch!  It is were I suspect a problem.
> >
> > But I changed my code to force the correct sequence and I still got an
> > error from Dabo.   So I thought I'd ask about how it is suppose to work
> > when children are involved.
>
> How about providing your error output,
> so that someone can get a clue on what and where errors are happening?
> ;-)
>
> Have to get some sleep now,
> Uwe


Uwe thanks for your help.  The error was strange and came from _core.py.  That 
script is deep into the Dabo framework.  When I find errors deep in the 
framework I normally suspect my code.  So after dinner I took another look at 
what I had done.  That's when I realized I had mis-spelled the sequence name.  
Correcting the name caused the code to work.   I submitted my changes.  I 
will continue to check the changes.  But so far it's working.  


-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to