This question is about validation. I have a datagrid that I am displaying in a form in C#.NET using Access 2000 database. The datagrid works fine. The datagrid has a NUMBER field called "ProdCode" that has a field size specified as "Single". I want the user to enter only 3 digits in that field. If there are more than 3 digits then display a message. How would I do that? Keep in mind that it is a "NUMBER" filed not a "TEXT" field.
In the Validation Rule property of that field I typed in "Like ###". So that only 3 digits should be entered no matter what the value is. But that didn't worked.
Any ideas would be greatly appreciated.
Thanks!
In the Validation Rule property of that field I typed in "Like ###". So that only 3 digits should be entered no matter what the value is. But that didn't worked.
Any ideas would be greatly appreciated.
Thanks!