From: Bob D. <bd...@si...> - 2005-03-01 00:45:29
|
What's the error you are getting.. the only thing I see wrong right now is you have a single quote after the col="2" On Mon, 2005-02-28 at 17:58 -0600, Al Arzaga wrote: > 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 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users -- Bob Doan <bd...@si...> |