On a form, I have a subform which looks at a query and shows the following field:
Withdrawalamount
depositamount
In the footer I created three text boxes and used the following codes to get total withdrawals, total depostis and balances:
=Forms!Transactions![Transactions Subform].Form![Total Withdrawals]
=Forms!Transactions![Transactions Subform].Form![Total Deposits]
=nz([Total Deposits])-nz([Total Withdrawals])
It will not work, yet it works on a form that I copied form the sample ledger database in access help. The only difference I can tell is that my subform looks at a query and the one I copied from them looks at a table. What am I doing wrong? Using the codes above, on the form that is working correctly, how does access know what field to look at?
Thank you!
Withdrawalamount
depositamount
In the footer I created three text boxes and used the following codes to get total withdrawals, total depostis and balances:
=Forms!Transactions![Transactions Subform].Form![Total Withdrawals]
=Forms!Transactions![Transactions Subform].Form![Total Deposits]
=nz([Total Deposits])-nz([Total Withdrawals])
It will not work, yet it works on a form that I copied form the sample ledger database in access help. The only difference I can tell is that my subform looks at a query and the one I copied from them looks at a table. What am I doing wrong? Using the codes above, on the form that is working correctly, how does access know what field to look at?
Thank you!