ttheimer
asked on
Fixed decimal entry and display in a DBGrid
If I want a number to always be displayed in a fixed decimal format (always 1 decimal digit and always as least 1 digit to the left of the decimal) and I want to similarly limit the user input, how is this best accomplished? Data is being displayed and entered into a DBGrid sourced by a SQL Server database via TADO components.
- Thanks. -
- Thanks. -
in the field definition for that field, set the DisplayFormat to 0.0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Had to hunt some to locate these properties in a DevEx control - found them in the CurrencyEdit - works great! Thanks.