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 01:51:47
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/10/2005 22:31:11
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:
01057850
Views:
21
>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's possible and key method is BRCC as you thought. Basically what you do is to evaluate row validation expression and if fails prevent row change. Check Foxyclasses editgrid sample.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform