>Try:
>thisform.Grid1.Column.DynamicInputMask = "IIF(TheField%1=0,'9999','9999.999')"
>Not tested.
TESTED
Not what I wanted to do but I found the way.
Your solution makes a record not int is shown with decimals, integer without decimals. Perfect.
What I wanted to do was: Just one with decimals? Everyone with decimals.
I don't know why when I tested inputmask property it didn't work, so I thought dynamicinputamask would do the miracle.
Inputmask property is the way.
Thank you very much.
Héctor
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only