[Zope] ZSQL - finding the id of what you just inserted?
The Doctor What
docwhat@gerf.org
Thu, 19 Apr 2001 20:56:20 -0500
Howdy again....
I use a dtml-call to call a zsql object that does an insert. I
don't specify ID because ID is auto-sequenced by the DB.
How can I find out what the ID of that just inserted object is so I
can do more operations on it?
Related question: Why doesn't this work?
<dtml-call expr="RESPONSE.redirect('index_html?message=Link+added&url_id='+url_id)">
Zope complains about a builtin...
Ciao!
--
"Always do right. This will gratify some people and astonish the rest."
-- Mark Twain
The Doctor What: A really hip dude http://docwhat.gerf.org/
docwhat@gerf.org KF6VNC