General information
Category:
Forms & Form designer
What I have done in similar situations is not bind directly to the field. Instead, I bind it to a property of the form or container, then put code in the Refresh method of the control to set that property from the source after multiplying by 100 and in the valid method to save it to the source after dividing by 100.
...Jim
>I have a data entry form containing percentage fields that are defined as N(4,2). I would like the users to be able to enter 100% as 100 rather than 1.00, 50% as 50 rather than 0.50, and so on. Is there some formatting option that supports this or is my only option to change the field definitions to N(3,0)? (They can never be greater than 100%).
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