[ic] another loop question

Victor Nolton interchange-users@interchange.redhat.com
Thu Apr 25 16:58:00 2002


>>  -----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