Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in GRID having calculate column
Message
From
28/01/2007 18:09:06
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
 
 
To
28/01/2007 17:27:32
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01189942
Message ID:
01189946
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform