Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Events
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00576401
Message ID:
00576408
Views:
22
>Hi All,
>
>Can anyone tell me what event fires in a Grid when the AllowAddNew is true and a new record is added? I saw a Deleted Event but nothing when a record is added via a grid.
>
>TIA
>

Robert,
The BeforeRowColChange and AfterRowColChange event fires. One way I know of to do this is to track the reccount() before the row changes and after. If they are different, you know they added a record.

NOTE: The Deleted event fires when the user toggles the Deleted mark of a record. It does not fire if they use an outside source to delete the record (like a button).
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform