Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating Data In A Grid Problem.
Message
From
05/02/2002 13:58:07
 
 
To
05/02/2002 13:42:39
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615529
Message ID:
00615666
Views:
15
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
Next
Reply
Map
View

Click here to load this message in the networking platform