On Mon, Sep 30, 2002 at 07:39:38PM +0200, Andre Landwehr wrote:
> I'm currently trying out Recordset's PrevNextForm for the first time. 

ok, I recognized my error, I didn't use %fdat for the
database request. Here's my modified and working simple page,
just for documentation purposes ;-)

  [-
    $fdat {'!DataSource'}    = 'mydb';
    $fdat {'!Table'}         = 'company';
    $fdat {'!PrimKey'}       = 'id';
    $fdat {'$max'}           = 3;
    *set = DBIx::Recordset -> Search (\%fdat);
  -]
  <table>
    <tr><td>[+$set[$row]{compname}+]</td></tr>
  </table>
  [+$set->PrevNextForm ({-prev=>'<<Back', -next=>'Next>>'}, \%fdat)+]
  
Andre

--
"The inside of a computer is as dumb as hell, but it goes like mad!"
(Physicist Richard Feynman)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to