Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating Record on Grid with Row Table Buffering
Message
From
11/10/2005 23:29:18
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057836
Message ID:
01058191
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>>Is it possible to avoid moving record one grid where buffer mode is row table buffering and if the record it is not valid for any reason.
>>
>>I have tried using beforerowcolchange and afterrowcolchange methods without success. The record pointer always move and the record is saved without validating.
>
>It has to be table buffering. I don't think you can make it to work with row buffering.

You can make it work with row buffering. I've got some classes doing exacly this. Basically it works the same way as marcia did point out. The key is to have a NODEFAULT in the beforerowcolchange to prevent the row to change.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform