![]() |
Sergey Kornilov admin 1/21/2014 |
Assuming this SQL query is correct and you only need to display this value on the View page you can do something very simple. echo DBLookup("select round(sum(value), 2) FROM mytable AS Totcap"); |
S
|
simonuk author 1/22/2014 |
Ah - I was looking in the wrong direction. Thank you |
![]() |
Sergey Kornilov admin 1/22/2014 |
If you are talking about record ID (primary key value) on the View page - you can access it as $_GET["editid1"]. |