|
I use dbgrid to display all records in a table, then I want to add a row at the end of dbgrid, and count the sum of a certain field in this table (for example, there is a number of fields in this table, then I want to add Add the number field in all records to get the total number) to form a record with "total" written in front, and then display the total number under the number of dbgrid column. How to??
Another problem is that when you use dbgrid to display records, it seems that you can directly set in the properties of dbgrid to display odd-numbered records in a certain color, and even-numbered records in a certain color. How to set it??? ???? |
|