Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to validate input in a grid control
Message
From
14/09/2001 04:39:41
 
 
To
14/09/2001 04:34:08
Devrishi Bhogra
Escorts Claas Limited
Faridabad, India
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00556331
Message ID:
00556352
Views:
21
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform