>>>
>>>IIF(report1.credit_chk=.T., "<99999999.99>",IIF(report1.debit_chk=.T.,"[99999999999.99]","99999999.99"))
>>>
>>
>>Boy, it took me a whole test form to see what was wrong. Note the missing parenthesis.
>
>Hey man I thought you were the first to drop those .T. :)
>Cetin
Well, I didn't simply because I wanted only to fix it, not to do it right. Of course, if I had done it myself, it would rather be adding a new column to the cursor, which would contain just the inputmask (the one specific to the current record), and would have just "report1.cInputMaskField" as the dynamicinputmask source. I just love to have no functions at all in grid's dynamic properties.