iif() bug?
Al Arzaga <aarzaga-nkJVuyUqn/[email protected]>
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <5D04AA663E554C4AAAEB1C300E32CE2E013F1414@gelbermail.GELBERGROUP.COM> |
Am running rlib 1.3.2. In my xml, I'm using iif() to determine whether I should output a field's value in one column or the other, depending on a value in another field. In other words, I've got in the two columns a <field> tag similar to the following: <field value="iif(ps_array.CSENS=='A', ps_array.SumQTFDP, ' ')" width="5" col="1"> <field value="iif(ps_array.CSENS=='V', ps_array.SumQTFDP, ' ')" width="5" col="2"> What I'm noticing is in the first line of the generated report, in the correct column, it prints out "SumQTFDP". Then subsequent values down the rows show the corresponding value for the previous row. It's as if the numbers are shifted down a row. ------------------------------------------------------- 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