[ic] [if] and [loop-param]

Philip Alves interchange-users@icdevgroup.org
Tue Oct 29 12:08:00 2002


I've been stuck on this for a couple of hours now, and am getting desperate,
or I wouldn't ask the list.

I've done a loop search which works fine, but now my problem involves
displaying the results.  the returned fields are header, detail_1, detail_2,
detail_3, detail_4, detail_5, detail_6, detail_7, detail_8, detail_9,
detail_10, detail_11, detail_12

Not all detail_x fields have information in them, and what I need to do is
display them only if they are non-blank.  I've tried:

[if value [loop-param detail_2] ne //] <br> [loop-param detail_2] [/if]

[if loop-param detail_2] <br> [loop-param detail_2] [/if]

[if loop-param detail_2 != ""] <br> [loop-param detail_2] [/if]

etc...

I either get nothing showing, or if the value of detail_2 is blank, the <br>
still shows up.  Makes for a lot of unwanted white space.

TIA!!!

Phil