[Zope] Two in one?

Andrew Kenneth Milton akm@mail.theinternet.com.au
Fri, 2 Jun 2000 21:12:34 +1000 (EST)


+----[ 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    |akm@theinternet.com.au|