Re: RE: iif use in field value [correction]
Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] > > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/rlib-users -- Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]> ------------------------------------------------------- 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