Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in GRID having calculate column
Message
De
28/01/2007 18:09:06
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
 
 
À
28/01/2007 17:27:32
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01189942
Message ID:
01189946
Vues:
11
Hello Dragan
Thanks for your reply.

your suggestion about making some code in my column with the event afterrowcolchange is good , but infortunatly this program is not deploy by me.
I have always some problem about GRID, because in this program i have events for afterrowcolchange, but if i calculate 2 columns depending the final result on both my code loops.
for example.
Quantity : 10000
Percent : 10
Total : Quantity*pertcent/100

well if i change the percent column, i change alse the total column, and also, if i change the total column the percent column may change also.
In this moment , the first time i can make this, but after that , because column percent has a value and total column also, if i change the percent column the software return to me always the same value of total column because when the percent column lost the focus the total column has not yet change their value.

It´s maybe a little confuse, also i tryed in my code i force to turn the total value to zero but i have always the same problem.

??? i don´t know how can i resolve this.

Many thanks
Luis Santos
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform