Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extended Values
Message
 
À
07/05/1997 13:00:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00031168
Message ID:
00031177
Vues:
50
Just put txtQty.Value*txtCost.Value in the controlsource for that column or if you can't do that, create a method with that code and call the method in the controlsource

>I have an invoice module with detail lines in a grid. I have a very basic need: I want the last column in the grid to reflect price * qty. Here's my latest attempt, all unsuccessful: I set the Grid.txtExtended.Value to be
>
>=txtQty.Value * txtCost.Value
>
>1. When I go into an existing invoice, none of the lines extend properly.
>
>2. When I get one of the lines to multiply out, ALL of the txtExtended.Value's change, not just the line that I am on.
>
>How do I accomplish this seemingly simple feat??
>
>TIA.
>
>John

Michael G. Emmons
memmons@nc.rr.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform