Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete records in grid and compute total
Message
De
04/10/2004 11:21:20
 
 
À
04/10/2004 07:36:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00947104
Message ID:
00948483
Vues:
42
1. i get variable'tnrecord' is not found

On which line of code does the error occur? Are you passing nRecNo from the grid's Deleted() method to your DeleteRecord() method?

2.deleteted(), method mean procedure deleted at mygrid

Yes. MyGrid.Deleted()

3. it but this code undee procedure deleted at mygrid

Are you saying that this is the code you have in your MyGrid.Deleted() method? The rule of thumb is "Code in methods, not events" This means that the native Deleted() event of the grid should always call a custom method and not have code in it.

Personally, I think you really ought to get a copy of Fundamentals: Building Visual Studio Applications on a Visual FoxPro 6.0 Foundation if you are serious about developing applications in VFP. It is apparent to me that you are just starting to learn the language. Although answers that you receive on this forum will help you solve specific problems, it is no substitute for the learning that you must do on your own.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform