How can I make sure that only nunbers are entered into a specific column in a dbgrid?
Can I then format it as Currency?
Printable View
How can I make sure that only nunbers are entered into a specific column in a dbgrid?
Can I then format it as Currency?
Answered part of it..
x= specific column index
If DBGrid1.Col = x Then
If Not IsNumeric(Chr(KeyAscii)) And KeyAscii <> vbKeyBack Then KeyAscii = 0
End If
now how do I format this for currency..hmmm..