[ic] another loop question

Tim Böckers interchange-users@interchange.redhat.com
Thu Apr 25 17:05:00 2002


On Thursday 25 April 2002  5:03 pm, you wrote:
> >>  -----Original Message-----
> >>  From: interchange-users-admin@interchange.redhat.com
> >>  [mailto:interchange-users-admin@interchange.redhat.com] On
> >>  Behalf Of Aaron Hazelton
> >>  Sent: Thursday, April 25, 2002 4:40 PM
> >>  To: interchange-users@interchange.redhat.com
> >>  Subject: [ic] another loop question
> >>
> >>
> >>  This seems so simple, but here I am 2 hours later and still
> >>  cant get it
> >>  to work..
> >>
> >>  [loop
> >>            random=1
> >>            search="
> >>                    fi=testimonials
> >>                    st=db
> >>                    ra=yes
> >>                    ml=1000
> >>            "]
> >>
> >>  I thought the way to call out the value of the field was:
> >>  [value FIELDNAME]
> >>
> >>  But then I also found in the docs:
> >>  [loop-field FIELDNAME]
> >
> >Forgot to add one thing: if you do [loop-code] you get the field 'code'
> >of the table 'testimonials' as searched above (i.e '00005') but none of
> >the rest work.
> >
> >>  [/loop]
> >>
> >>  I cant get either to work.  Where am I going wrong?
>
> did you try [loop-data testimonials fieldname] ?
>
> Ven
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

If you search the archives, Racke recomended [loop-param fieldname] which 
does the job for me.

tim