+----[ Andy Gates ]---------------------------------------------
| Fun for all the family.  I'm trying to produce a page that draws from 
| two databases following one friendly search.  The first chunk of data 
| is from the search itself and returns, among others, an ID which I want
| to pass into the second chunk to search it.  Kinda like this:
| 
| Search page: blah
| 
| Report page: loop thru hits on "blah" in db1, any of 6 fields (name, 
| desc)
|       show id
|       show name
|       show desc...
|       loop thru hits in id db2
|               show users
|               show friendlynames
|       /loop
| /loop

<dtml-in "secondQuery(id=id, name=name....)">

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472                     |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |[EMAIL PROTECTED]| 

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to