G
gagetpro
Problem: I have a subform with 3 fields & want to sum dollars in 1st based
on text value of 2nd and store in 3rd.
Main form named F_DepositSlip & Record source is table M_DepositSlip; sub
form named fsC_PayFundsAllocationSelForDeposit & Source Object FS_DepositSel.
1st named: txtFundPaidAmount
Control Source: FundPaidAmount of table M_DepositSlip
2nd named: cboTypeFunds_IDs of table M_DepositSlip
Control Source: FundPaidTypeFunds_IDs
Row Source: SELECT L_TypeFund.TypeFund_ID, L_TypeFund.TypeFundName
FROM L_TypeFund ORDER BY [TypeFundName];
3rd Named: txtCurrency
Control Source:
=DSum([txtFundPaidAmount],[fsC_PayFundsAllocationSelForDeposit],
[cboTypeFunds_IDs]="Currency")
get Error> The object dosen’t contain the Automation object
‘fsC_PayFundsAllocationSelForDeposit’
on text value of 2nd and store in 3rd.
Main form named F_DepositSlip & Record source is table M_DepositSlip; sub
form named fsC_PayFundsAllocationSelForDeposit & Source Object FS_DepositSel.
1st named: txtFundPaidAmount
Control Source: FundPaidAmount of table M_DepositSlip
2nd named: cboTypeFunds_IDs of table M_DepositSlip
Control Source: FundPaidTypeFunds_IDs
Row Source: SELECT L_TypeFund.TypeFund_ID, L_TypeFund.TypeFundName
FROM L_TypeFund ORDER BY [TypeFundName];
3rd Named: txtCurrency
Control Source:
=DSum([txtFundPaidAmount],[fsC_PayFundsAllocationSelForDeposit],
[cboTypeFunds_IDs]="Currency")
get Error> The object dosen’t contain the Automation object
‘fsC_PayFundsAllocationSelForDeposit’