New to this portion of access , never really had to code/program behind the scenes for calculations. Primarily did user face calculations in access and excel and as well as reports /queries in access.
I have Three Tables
Table A
Department "Name"
Department "Budget-Value"
Table B
Section "Name"
Section "Budget - Value"
-section represents what the department is paying for : such as Electricity, Misc., Extracurriculars, Entertainment, Supplies, Research etc. Each section has a budget.
Table C
Invoice "Number"
Invoice "Amount"
Invoice "Paid"
- Invoice represents the receipt given for spending - the amount requested sometimes differs from the amount paid
I wanted to know if SQL or VBA can help with my dilemma. I want to alert the user when spending has hit a limit so that they can slow down on/stop spending.
So the invoices paid cannot exceed its respective section, and the section budgets entered cannot exceed the entire department's budget.