[SOLVED] Â Totals over whole table |
2/2/2016 10:32:19 AM |
PHPRunner General questions | |
W
wpl author
Hello Listers, |
|
![]() |
Sergey Kornilov admin 2/2/2016 |
This is a job for code snippet where you can execute SQL query and calculate total for the whole table. You have access to the current WHERE clause in events links BeforeSQLQuery: |
W
|
wpl author 2/3/2016 |
Sergey, |
![]() |
Sergey Kornilov admin 2/3/2016 |
I don't understand. You are adding this functionality to some specific table where you do know the whole SQL query as it appears on 'SQL Query' screen. Just copy your SQL Query from there. |
W
|
wpl author 2/3/2016 |
I don't understand. You are adding this functionality to some specific table where you do know the whole SQL query as it appears on 'SQL Query' screen. Just copy your SQL Query from there.
|
![]() |
Sergey Kornilov admin 2/3/2016 |
If you check the same event you can find SQL query parameter there as well: |