>Klas,
>Have you considered adding a second textbox to the grid column? Text1 is set to the field, and text2 would be set to the 'IIF(amount>0.00, amount, ' ') function. Use the CurrentControl function to switch to Text1 for editing, text2 for all other display purposes (use When()and LostFocus() ).
>
>HTH
>Barbara
Thanks for your help.
I tried to describe the problem we ran into doing this in my first message:
Everything works fine apart from the color of the textbox when modifying its content. Instead of the normal fore- and backcolor of the textbox it takes on the DynamicFore- and BackColor of the column, and we havn't found a way to make an override on these dynamic colors.
(using VFP 3.0 for Win & Mac)