[Zope-DB] returning id of an inserted record
    Jim Penny 
    jpenny at universal-fasteners.com
       
    Thu Jun 10 15:52:56 EDT 2004
    
    
  
> my question is how do I use this in DTML?
> 
> I do this..
> <dtml-call "add_buyer(REQUEST)">
<dtml-in "add_buyer(REQUEST)">
...
</dtml-in>
Or, in ZPT, see tal:repeat.
Note:  dtml-call explictly discards any results.  So that is not going
to do much of anything for you.
Jim Penny
> 
> but how do I get the results? ( mainly the buyer_id which is a
> database generated sequence.)
> 
> Thanks
> Gene Tuttle
> 
> _______________________________________________
> Zope-DB mailing list
> Zope-DB at zope.org
> http://mail.zope.org/mailman/listinfo/zope-db
> 
> 
    
    
More information about the Zope-DB
mailing list