|
-
April 18th, 2001, 01:00 PM
#1
using masket edit Box with percents
I have a masked edit box that I want to allow end users to enter a value from 0 to 100 percent (database column type = real) i.e. 50 or 45.67 etc...
What format and mask properties should I use?
Thank you in advance!!
-
April 18th, 2001, 02:02 PM
#2
Re: using masket edit Box with percents
Based on your description, I think you don't need to use MaskEdit control. MaskEdit is used, when the format of data is always the same, and you want to enter 50 or 100, and database contains 50 or 45.67. So, what format is correct? 2 places, 3 or 4? It's better to allow to enter any numeric data and before saving, or after control lost focus, to change data format as required.
Vlad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|