Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete records in grid and compute total
Message
De
29/09/2004 07:06:48
 
 
À
29/09/2004 06:52:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00947104
Message ID:
00947107
Vues:
23
1.how i can delete a record at my grid viamy gird .

All you need to do is to make the delete mark visible. Then, in the DELETED() event, if you have DELETED SET ON, you can move the record pointer if you want the deleted record to disappear from the grid.

2.if i have at mygrid two fields as quantity and price,if change any one of them i need new result at another field as total.

In the Valid() method of each of the 2 text boxes in the grid, call a form method that has this code in it:
REPLACE total WITH quantity * price IN << My Grid's RecordSource >>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform