number. Field Properties needs to be Type: Number & Percentage (Value*100)%.
Default Value event = 0.
Formula is placed in the Input Translation event.
Replace fieldname with the name of the field that will be held in temporary
variable i.
If the input value is not a number Zero is returned. Otherwise check to see if
the value is greater than 1. Decimal numbers are displayed as percentage values
correctly. 1 is displayed as 100%, and numbers greater than 1 are devided by
100 to get a decimal value that will display correctly. So .02=2%, .2=20%,
2=20%, 02=2%, 200=200%
i:=fieldname;
@If(@IsNumber(i);
@If(i>1;i/100;i);0)
This was first published in November 2000