[ic] confusion about [if]

Randy Moore interchange-users@icdevgroup.org
Thu May 1 20:56:02 2003


At 05:27 PM 5/1/2003 -0700, you wrote:

>Hi,
>
>I'm new to IC 4.9.7. I used 4.7 a long time ago and am just getting back 
>into it.
>
>I think I misunderstand exactly how to use search list fields in an [if]. 
>I am doing something like this:
>
>[if [item-field comment]]
>   ...table row for [item-field comment]
>[/if]
>
>This is the right syntax, correct? I seem to be getting the data 
>sometimes, but not always. I think it may have something to do with the 
>data within the field...in some of the the cases it is not working the 
>comment field contains "---- not available ----". Could it be the hyphens 
>causing problems?

HI,

I think you want:

[if-item-field comment]
...table row for [item-field comment]
[/if-item-field]

The hyphens in the database would not cause a problem.


Randy Moore
Axion Information Technologies, Inc.

email     ramoore@axion-it.net
phone   301-408-1200
fax        301-445-3947