[Zope] ZopeDud was: HELP! Double outputs!

Casey Duncan cduncan@kaivo.com
Mon, 14 May 2001 09:37:44 -0600


Paul Zwarts wrote:
> 
> Hi Tino,
> 
> Thanks for the quick response... Of course the obvious is true.... I had
> ASSUMEd that my referential integrity was setup properly when migrating my
> databases. Not so.... do a select and sure be it that i find duplicates....
> Thanks very much, you have destressed me quite effectively.
> 
> BUT,
> 
> What remains to be said. Even IF there are two alike rows, then shouldnt:
> 
> <dtml-in "something(pk=1)" size=1>
>    dtml-var pk>
> </dtml-in>
> 
> Output the record only once?
> 
> Paz

Ah bitten by orphan. Try this:

<dtml-in "something(pk=1)" size=1 orphan=0>
   <dtml-var pk>
</dtml-in>

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>