Hi guys,
I need heed some help with an application. I want to insert a record in another table (Table B) when I update or insert a record in Table A. But here is the catch. One of the values that is being inserted has to be incremented based on the the highest existing value.
Basically if I add a new branch to branches table, I want to also automatically add a record with that branch’s name for salaries payable in another table (Accounts). Now lets say that table already has accounts for 3 branches, so the new one will have to increment this number by 1.
This is for the Chart of Accounts.
Any help and/or guidance will be much appreciated.
I think its gotten too late, that’s why nothing is clicking!