Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete records in grid and compute total
Message
From
04/10/2004 11:21:20
 
 
To
04/10/2004 07:36:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00947104
Message ID:
00948483
Views:
41
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform