A
Ammo
Hi All,
I have created a form called frm_GrantPot with
tbl_GrantPot as the record source.
The form consists of the following fields:
GrantPotNumber, GrantPotName, AvailableGrant,
TotalGrantRemaining (calculated field with the following
expression; =[AvailableGrant]-[frm_GrantApplicant
subform].Form!AmountGrantAllocated
The main form also consists of a subform with
tbl_GrantApplicant as the record source and consists of
the following fields:
GrantApplicantNumber, GrantStatus (yes/no data type),
DateGrantAllocated, GrantRecipient, ReasonGrantAllocated,
AmountGrantAllocated, GrantSpendProgress, GrantConditions,
GrantPotNumber (Foreign Key)
For the 'TotalGrantRemaining' field on the main form I
wish to calculate the following for each grantpot record:
TotalGrantRemaining (on main form) = AvailableGrant (on
main form) - AmountGrantAllocated (for each record in
subform) where the 'GrantStatus' for each record in the
subform is = yes (ticked). I hope that makes sense, please
do not hesitate to ask more me for further clarification.
Cheers.
Kind Regards
AMMO
I have created a form called frm_GrantPot with
tbl_GrantPot as the record source.
The form consists of the following fields:
GrantPotNumber, GrantPotName, AvailableGrant,
TotalGrantRemaining (calculated field with the following
expression; =[AvailableGrant]-[frm_GrantApplicant
subform].Form!AmountGrantAllocated
The main form also consists of a subform with
tbl_GrantApplicant as the record source and consists of
the following fields:
GrantApplicantNumber, GrantStatus (yes/no data type),
DateGrantAllocated, GrantRecipient, ReasonGrantAllocated,
AmountGrantAllocated, GrantSpendProgress, GrantConditions,
GrantPotNumber (Foreign Key)
For the 'TotalGrantRemaining' field on the main form I
wish to calculate the following for each grantpot record:
TotalGrantRemaining (on main form) = AvailableGrant (on
main form) - AmountGrantAllocated (for each record in
subform) where the 'GrantStatus' for each record in the
subform is = yes (ticked). I hope that makes sense, please
do not hesitate to ask more me for further clarification.
Cheers.
Kind Regards
AMMO