Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Events
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00576401
Message ID:
00576408
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform