Carlos
If you are entering data at that textbox, in the grid, and you wish to validate what you enter, then, yes, use the .Valid() method of thet textbox. It can return T/F or a number of your choice. If it returns .F. then you will not be allowed out of the textbox until a valid entry (it returns .T.).
Terry
>Hi everyone
>
>I have populated a Grid object with code and need to validate the data entry, like this:
>
>with thisform.MyGrid
> .Columm.text1.....
>
> && How to valid? may be: .column.text1.valid ???? don´t know
>
>endwith
>
>But can´t find the exact way to do it. Somebody can help me, please?
>
>Thanks in advance
>Carlos Burgos
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.