B
Bonnie A
Hi everyone! Using A02 on XP. I've had fits trying to bring data from sub
and subsub forms that are pulling data from various sources for billing
purposes (PartStmts, PartSearch, Amdmts, etc.) up to my bill record. I have
fields on the sub forms showing summaries of how many and how much. (I
usually keep them Visible.No but lately just show them to see if that helps.)
I just want folks to be able to click a button and the data (if any) is
copied over into the bill record. I used to have the code in a validation
macro but it didn't work there either. I have the code behind a button:
Private Sub UpdateSubs_Click()
Me.MailPartStmtCycleCount = Me.MailPartStmtCycleCopy
Me.MailPartStmtCount = Me.MailPartStmtCopy
Me.MailPartStmtFee = Me.MailPartStmtCount * 1.25
Me.AmdmtNum = Me.CountAmdmt
Me.AmdmtFee = Me.AmtDueAmdmt
If Me.AmdmtNum > 0 Then
Me.InclAmdmtFee = -1
End If
Me.PartSearchFeeCount = Me.PartSearchFeeCopy
Me.PartSearchFee = Me.PartSearchFeeCount * 10
End Sub
It worked at the time but now it doesn't. I've tried to switch the order
but can't make sense of this.
Also, here is how I'm pulling the data up from the subsub form for Amendments:
[AmtDueAmdmt] Control Source is:
=IIf(IsError([RPSAdminBillSubAmdmts].[Form]![AmdmtAmtDue]),0,[RPSAdminBillSubAmdmts].[Form]![AmdmtAmtDue])
So the data is sitting there in the field and I've checked the names
backwards and forwards. Also, if I separate the amendment pieces out to a
button of their own, they work. But for how long?
I'm not a programmer as I'm sure you know by now but would appreciate any
assistance or education you'd mind sharing.
I am stumped and my itsy bitsy Access reputation is going down the tube.
Help?!?!?
Thanks in advance for any assistance.
and subsub forms that are pulling data from various sources for billing
purposes (PartStmts, PartSearch, Amdmts, etc.) up to my bill record. I have
fields on the sub forms showing summaries of how many and how much. (I
usually keep them Visible.No but lately just show them to see if that helps.)
I just want folks to be able to click a button and the data (if any) is
copied over into the bill record. I used to have the code in a validation
macro but it didn't work there either. I have the code behind a button:
Private Sub UpdateSubs_Click()
Me.MailPartStmtCycleCount = Me.MailPartStmtCycleCopy
Me.MailPartStmtCount = Me.MailPartStmtCopy
Me.MailPartStmtFee = Me.MailPartStmtCount * 1.25
Me.AmdmtNum = Me.CountAmdmt
Me.AmdmtFee = Me.AmtDueAmdmt
If Me.AmdmtNum > 0 Then
Me.InclAmdmtFee = -1
End If
Me.PartSearchFeeCount = Me.PartSearchFeeCopy
Me.PartSearchFee = Me.PartSearchFeeCount * 10
End Sub
It worked at the time but now it doesn't. I've tried to switch the order
but can't make sense of this.
Also, here is how I'm pulling the data up from the subsub form for Amendments:
[AmtDueAmdmt] Control Source is:
=IIf(IsError([RPSAdminBillSubAmdmts].[Form]![AmdmtAmtDue]),0,[RPSAdminBillSubAmdmts].[Form]![AmdmtAmtDue])
So the data is sitting there in the field and I've checked the names
backwards and forwards. Also, if I separate the amendment pieces out to a
button of their own, they work. But for how long?
I'm not a programmer as I'm sure you know by now but would appreciate any
assistance or education you'd mind sharing.
I am stumped and my itsy bitsy Access reputation is going down the tube.
Help?!?!?
Thanks in advance for any assistance.