[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Nest if error?
- Subject: [ic] Nest if error?
- From: interchange-users@icdevgroup.org (murahashi)
- Date: Mon Aug 19 20:46:00 2002
- References: <000001c24787$3213a320$020110ac@majestic.cursor-software.co.uk>
Dear Mr.Walsh,
Thank you for your exellent suggestion.
It worked well and my problem was solved.
This kind of IC tag syntax or specification is difficult for me.
Actually nest [if-item-data] works on IC4.6.
Anyway, thank you very much.
Best regards,
---------------------------------------------------------------
KIDA Net Business Ltd
Shozo Murahashi
E-MAIL: murahashi@ayayu.com
----- Original Message -----
From: "Kevin Walsh" <kevin@cursor.biz>
To: <murahashi@ayayu.com>
Sent: Monday, August 19, 2002 10:49 PM
Subject: RE: [ic] Nest if error?
> > [if-item-data discountprice price]
> > [discount [item-code]][item-data discountprice price][/discount]
> > <font color="red" size="1"><b>[currency][item-data discountprice
> > price][/currency]</b></font>
> > <font __FFACE__ size="1"><---<S>[price
code="[item-code]"]</S></font>
> > [else]
> > [if-item-data pricing price]
> > <font __FFACE__ size="1">[price code="[item-code]"]</font>
> > [else]
> > Quote
> > [/else]
> > [/if-item-data]
> > [/else]
> > [/if-item-data]
> >
> You can't nest [if-item-data] tags like that. Change the [else]
> section to use the [if] tag instead, like this:
>
> [if-item-data discountprice price]
> [discount ...]...[/discount]
> <font ...> ... </font>
> <font ...> ... </font>
> [else]
> [if type="data" term="pricing::price::[item-code]"]
> <font ...> ... </font>
> [else]
> Quote
> [/else]
> [/if]
> [/else]
> [/if-item-data]
>
> --
> _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
> _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
> _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
> _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
>