Apex True DBGrid Pro 6.0 Edit Mask Question
Posted on 2000-04-13
I am using a Apex True DBGrid Pro 6.0, and in one of my columns I need to only allow the users to enter a maximum of 7 digits. I tried using the code below:
With dbgTransData.Columns("Case Num")
.Width = 1100: .Caption = "Case Num": .Alignment = dbgRight
.EditMask = "#######": .NumberFormat = "Edit Mask": .HeadAlignment = dbgCenter
The code works as far as only allowing the user to enter 7 digits but I need the default value to display as "0000000". The code above displays a default value of "0" centered in the column.
Any ideas on how to get what I am trying to accompish to work?