Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > DB-Aware

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2001, 08:50 PM
davidj davidj is offline
Senior Member
 
Join Date: Jan 2001
Posts: 2,900
Default DBGrid & Restricting input to 2 decimal places ?

If I am getting the user to input/Edit a record by using
the DBGrid and one of the fields is a Float. I want the
user to be restricted to 2 decimal places within the grid.
In other words is it possible to apply a kind of mask within the DBGrid itself ?
Thanks
Reply With Quote
  #2  
Old 10-05-2001, 02:52 AM
MrBaseball34 MrBaseball34 is offline
Senior Member
 
Join Date: Jan 2001
Posts: 7,260
Default RE: DBGrid & Restricting input to 2 decimal places ?

Look at the EditMask of the field that you want to restrict.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:39 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.