S
Steve Lowe
Hi,
I have 2 tables one called accounts and one called transactions
The accounts table has a primary key called AccountID which is used as
a one to many relationship with the transactions table
I have a form called Add_Transaction which uses the Transactions table
as it's focus and simply adds records into the transaction table, the
1st field on the form is a lookup to the accounts table so the
transaction belong to a certain account.
In the accounts table there is a field called ValidationNumber which
is a text field length 10
This number can change from time to time and what I need to accomplish
is have a field in the transactions table populate itself with what
the validation number was on the account when the transaction was
added.
I'm having problems getting this to work
I have a button on the form called update which uses some SQL commands
to update a balance field and date of last transaction on the accounts
table but I can't seem to get the validationnumber field in the
transactions table updated at the same time.
Any suggestions
Regards
Steve.
- Steve Lowe
- E-Mail : (e-mail address removed)
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net
I have 2 tables one called accounts and one called transactions
The accounts table has a primary key called AccountID which is used as
a one to many relationship with the transactions table
I have a form called Add_Transaction which uses the Transactions table
as it's focus and simply adds records into the transaction table, the
1st field on the form is a lookup to the accounts table so the
transaction belong to a certain account.
In the accounts table there is a field called ValidationNumber which
is a text field length 10
This number can change from time to time and what I need to accomplish
is have a field in the transactions table populate itself with what
the validation number was on the account when the transaction was
added.
I'm having problems getting this to work
I have a button on the form called update which uses some SQL commands
to update a balance field and date of last transaction on the accounts
table but I can't seem to get the validationnumber field in the
transactions table updated at the same time.
Any suggestions
Regards
Steve.
- Steve Lowe
- E-Mail : (e-mail address removed)
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net