General information
Category:
Forms & Form designer
>>Is there an easy way to add column totals to the bottom of a grid?
>>
>>Thanks,
>>
>>Brian.
>
>No easy way. For ease, I suggest you use TextBox objects outside of the grid itself to show the totals. You will have to write some code to get those totals.
>
>If you want to have each TextBox underneath the corresponding column, it will be more complicated because the user can resize columns, and scroll horizontally.
OR simulate something it (totals to the bottom of a grid).
Create a readwright cursor (c2) with one record and the same fields as the table in the grid. Create another grid (grd2)(without headers) and put it at the bottom of the original grid. With some code update the values of the c2 cursor.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only