Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to validate data entry in a grid
Message
De
16/10/2007 05:15:13
 
 
À
15/10/2007 21:21:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01261169
Message ID:
01261186
Vues:
11
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform