Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid question
Message
 
To
09/07/2001 14:25:14
N. Lea
Nic Cross Enterprises
Valencia, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00528266
Message ID:
00528367
Views:
17
>I have this project and it requires the calculation of profit/loss for a company. What they want is to have a certain number of records marked by a code listed on a grid. At the end of those records, they want a summary line item showing the calculation for those items (indicated by a NULL or X to show it is a summary line). Then of course for the process to continue with another group code and it's summary line item.
>
>Now my first thought was to add summary entries into the table which house the group codes. However, it does not work too well that method. I am having trouble seperating the group codes by the summary line. Then I figured on creating a new table to only hold the summary descriptions, but no go there. I could be wrong in the way that I am going about this. Example below:
>
>DESCRIPTION      CODE    AMOUNT
>
>DVD INCOME       410     50000
>DVD LOSS         510     10000
>GROSS DVD INCOME NULL    40000
>VHS INCOME       420     50000
>VHS LOSS         520     60000
>GROSS VHS INCOME NULL    -10000
>ADMINISTRATIVE   610     40000
>SALES            710     30000
>TOTAL OFFICE     NULL    70000
>
>Any suggestions would be helpful. Thanks!

I have accomplished something similar to this by using a second grid to display the summary records. That allows you to have one grid with summary results and a second grid (with the details) that is filtered based on the summary record that is selected.

Scott
Scott King
The Support Source Corporation
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform