How to pass a value from a table view to another table view

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
bambinou
Veteran Member
Posts: 163
Joined: 2013-02-01 15:09

How to pass a value from a table view to another table view

Post by bambinou » 2013-10-21 08:47

Hello,

I have a table with tariffs as:
id
band (1,2,3,4,5)
Price per unit



In another table I have:
id
Number of units

I would like to multiply the "price per unit" by ""number of units" which is in another table, therefore another view.

Could you please explain to me a little bit the logic behind this in AppGini?


Thank you,


Regards,

Ben

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: How to pass a value from a table view to another table v

Post by AhmedBR » 2013-10-21 08:57

Download this APP Simple Invoicing:
http://www.bigprof.com/appgini/free-ope ... plications

Has all the code you need, just go through the Hook Files. ;)
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

bambinou
Veteran Member
Posts: 163
Joined: 2013-02-01 15:09

Re: How to pass a value from a table view to another table v

Post by bambinou » 2013-10-21 12:16

Thank you so much AhmedBR :-)))

I will do it tonight as I am at work now.

Much appreciated.

Ben

Post Reply