From: Al A. <aa...@ge...> - 2005-02-28 23:51:52
|
Forgot to add the third parameter in the iif functions. But basically that's how I'd like to implement iif. Corrected example code snippet: <field value="iif(query.action=='W', query.wins,' ')", col="2"' /> <literal width="1" /> <field value="iif(query.action=='L', query.losses,' ')", col="3" /> > -----Original Message----- > From: Al Arzaga > Sent: Monday, February 28, 2005 5:56 PM > To: rli...@li... > Subject: iif use in field value > > Hi, folks. > > Is it possible to use the iif function to determine how I display the > contents of a field? > > For example, I have a "Wins" column and a "Losses" column. > > <field value="iif(query.action=='W', query.wins)", col="2"' /> > <literal width="1" /> > <field value="iif(query.action=='L', query.losses)", col="3" /> > > Currently, I'm getting an error for implementing something like this. > > > -Al |