Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to validate input in a grid control
Message
 
 
À
14/09/2001 04:34:08
Devrishi Bhogra
Escorts Claas Limited
Faridabad, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00556331
Message ID:
00556352
Vues:
20
Hi!

Are you sure code in the Valid event running at all? Did you tried to put messagebox("Somtheing") in the Valid event ans see what happens? It should work. If it does not works, then probably your grid lost all columns and code in them because reconstruction. Read the "VFP Grids" artcile in the August Universal Thread Magazine (http://www.levelextreme.com/Magazine/August2001/), maybe you will find answer there.

Also, to do complex validation you can use AfterRowColChange event of the grid.

>hi vlad
>good day
>
>i have already tried putting code inside the valid event of text box. but it did not work out. is there any other property which is to be set to activate the
>valid even of textbox.
>
>And also i want to perform cross-field validation..like i want to validate
>one column of my grid with the other.
>
>so please help, and i hope i've made my self more clear this time...
>
>Regards
>
>Sunny
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform