Expression in a form (1 Viewer)

paul young

Registered User.
Local time
Today, 08:55
Joined
Aug 15, 2003
Messages
22
:confused:

I am creating a simple database for a small community bank. I created a current account with a subform that includes all transactions (deposits and withdrawals). I wanted to put an expression on the current account showing the balance after each transaction is made. I used the text box, 'balance' to show the balance but it showed up as '#Name?'. The expression used:

=[CurrentAccountTransactions].[Forms]![BalanceAfterTransactions]

It supposed to be simple but where have I gone wrong?? I used the guidance from the Northwinds database, the Orders and SubOrder forms. The expressions are pretty identical. Anyone who provides the light would be much appreciated! The database is attached.

Paul
 

Attachments

  • Sampledb.zip
    18 KB · Views: 93

indesisiv

Access - What's that?
Local time
Today, 08:55
Joined
Jun 13, 2002
Messages
265
Originally quoted by Paul Young
=[CurrentAccountTransactions].[Forms]![TotalDeposits]

This should be
Code:
=[CurrentAccountTransactions].[Form]![TotalDeposits]


Try that.

Steve
 

Users who are viewing this thread

Top Bottom