Validation of cells in a grid - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Validation of cells in a grid

Hi

I need to validate cells in a grid so for example, in the first column, the user must enter an 8 digit number. If the user enters something else (like 'abc' for example) I want to show an error message or if the user enters '123' - ie. only 3digits long an error message appears when the user tabs along to the next cell. Does that make sense? I can't really find anyway to do it! HELP!!

Amy

Comments

  • cycordcycord Posts: 148Member
    : Hi
    :
    : I need to validate cells in a grid so for example, in the first column, the user must enter an 8 digit number. If the user enters something else (like 'abc' for example) I want to show an error message or if the user enters '123' - ie. only 3digits long an error message appears when the user tabs along to the next cell. Does that make sense? I can't really find anyway to do it! HELP!!
    :
    : Amy
    :
    im not sure if this what you need but you can try this,,, click the table component twice then add all fields,,, on the field you want to validate choose EditMask then put the format template you want or on the OnChange property try validating the field to your choice
Sign In or Register to comment.