Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with a grid
Message
From
08/06/1999 17:46:13
 
 
To
08/06/1999 17:41:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00227697
Message ID:
00227719
Views:
27
>what can I do to show values (many rows) and totals in the last row?

Here, you should change your grid.recordsource. You will use cursor here:
Select 1 as gridorder,myfield1,myfield2 From mytable Where parentid=... Into Cursor mycursor Order by 1 ;
Union All Select 2 as gridorder,Sum(myfield1) As myfield1 ... From mytable Where parentid=...

Now whole cursor will be shown in your grid.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform