Hello
I have a query that brings back some numbers. ie: ICSS_TIME, SPAR_TIME
I want to create a column that will add those values together.
4 Answers
You can do this addition in SQL query and map it on grid column.
$g->select_command = "select f1,f2,sum(f1,f2) as f3 … from table";
You can have one for select and one for count.
This is internally set, however you can also set: e.g. (c alias is required)
$g->select_count = "SELECT count(*) as c from table";
If you tell exact tell scenario, i can suggest better.
Your Answer