G
Guest
Hi,
I'm a charity volunteer and am creating a database to keep track of
donations (payments). Among the many tables I have two called TDeposit (Key:
DepositID) and TPayment (Key: PaymentID), linked by a one to many
relationship. TPayment contains the field DepositID as the child.
The default value of TPayment.DepositID I have set to Null because until
payments are deposited, they cannot be related to a deposit record. There can
be one or many payments for each deposit.
I am having difficulty creating a macro to run once the deposits are made to
(1) create and populate a new record in TDeposit, and then (2) update the
value of TPayment.DepositID to equal the value of TDeposit.DepositID for all
of the relavent payment records to link them to the new donation.
I'm new to Access and teaching myself as I go along, but this is driving me
nuts. I'd be very grateful for anyone's help.
Thanks,
Mark
I'm a charity volunteer and am creating a database to keep track of
donations (payments). Among the many tables I have two called TDeposit (Key:
DepositID) and TPayment (Key: PaymentID), linked by a one to many
relationship. TPayment contains the field DepositID as the child.
The default value of TPayment.DepositID I have set to Null because until
payments are deposited, they cannot be related to a deposit record. There can
be one or many payments for each deposit.
I am having difficulty creating a macro to run once the deposits are made to
(1) create and populate a new record in TDeposit, and then (2) update the
value of TPayment.DepositID to equal the value of TDeposit.DepositID for all
of the relavent payment records to link them to the new donation.
I'm new to Access and teaching myself as I go along, but this is driving me
nuts. I'd be very grateful for anyone's help.
Thanks,
Mark