Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to validate data entry in a grid
Message
From
16/10/2007 05:15:13
 
 
To
15/10/2007 21:21:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01261169
Message ID:
01261186
Views:
10
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform