RE: iif use in field value [correction]
Al Arzaga <aarzaga-nkJVuyUqn/[email protected]>
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <5D04AA663E554C4AAAEB1C300E32CE2E013F12D5@gelbermail.GELBERGROUP.COM> |
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