Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating Data In A Grid Problem.
Message
From
05/02/2002 14:58:03
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
05/02/2002 13:58:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615529
Message ID:
00615712
Views:
18
Elmer,

Thanks for the comments. I had thought about doing exactly what you suggested, but, I was hoping that there would be a better/simpler way. Oh well...I could always cross my fingers and hope VFP8 does a better job.

Mike.

>This problem comes from the grid control not having a row level valid method (like browse fields... valid...) Basically what you are doing is setting OldActiveRow in beforerowchange event and detecting the row change in afterrowchange event calling gridrowchange. Gridrowchange has to move the record poiner back to OldActiveRow do the validation and either return back to the new row or leave it on the old row if validation fails. A real kludge workaround, but the only way that I know that this can be done. I use similar code in my grids.
Previous
Reply
Map
View

Click here to load this message in the networking platform