Calculation Page |
4/12/2020 7:23:26 PM |
PHPRunner General questions | |
![]() Hello <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=27288&image=1&table=forumtopics' class='bbc_emoticon' alt=':rolleyes:' /> |
|
![]() |
Sergey Kornilov admin 4/13/2020 |
Not really sure if I understand the exact question but it looks like you need to perform all these calculations in the code. |
![]() |
Spider Webster author 4/17/2020 |
Not really sure if I understand the exact question but it looks like you need to perform all these calculations in the code. I guess this can be, for instance, an additional View page of one of those three tables. You can just remove everything you don't need, insert a code snippet and run your calculations there.
|
![]() |
need2sleepDevClub member 4/18/2020 |
On the Field's Page, click 'Properties' and then click 'Field Events' change 'Event' from "click" to "change". |
![]() |
Spider Webster author 4/19/2020 |
On the Field's Page, click 'Properties' and then click 'Field Events' change 'Event' from "click" to "change". Now click 'Add Event' Put your calculations here using javascript and it will save it to the database. Here is some documentation: https://xlinesoft.com/phprunner/docs/field_events.htm
|
![]() |
Sergey Kornilov admin 4/19/2020 |
It really hard to understand what kind of help you looking for. Right now it says "I have to perform a bunch of calculations and I don't know where to start" and it is not clear what kind of answer you looking for. I will help you split your question into a several smaller parts and make each part of the question more specific. |
![]() |
Spider Webster author 4/20/2020 |
It really hard to understand what kind of help you looking for. Right now it says "I have to perform a bunch of calculations and I don't know where to start" and it is not clear what kind of answer you looking for. I will help you split your question into a several smaller parts and make each part of the question more specific.
|
![]() |
Sergey Kornilov admin 4/20/2020 |
Though is not really a PHPRunner question it is a great example of the question that can be understood and helped with. select sum(Amount) as Stotal from Expenses
|
![]() |
Spider Webster author 4/20/2020 |
Though is not really a PHPRunner question it is a great example of the question that can be understood and helped with. As a first step, run the following query manually against your database using the software like phpMyAdmin select sum(Amount) as Stotal from Expenses
|
![]() |
Spider Webster author 4/22/2020 |
Though is not really a PHPRunner question it is a great example of the question that can be understood and helped with. As a first step, run the following query manually against your database using the software like phpMyAdmin select sum(Amount) as Stotal from Expenses
|
![]() |
Sergey Kornilov admin 4/22/2020 |
Code snippet is just the code and it doesn't know anything at all about your project settings. You will have to write your code the way it only returns data for the current user. |