S
Slez via AccessMonster.com
In a subform's After Update event, I have the following code:
Private Sub Form_AfterUpdate()
Me.Parent.Recalc
End Sub
It is intended to update some calculated controls on a main form. I have 2
almost identical applications, the only difference being some of the controls
and row source properties. They both have the same basic structure. This
code works perfectly in one form, but in the other, when I try to make an
update to the subform, I get this error:
Run-time error '-2147417848 (80010108)': Method 'Recalc' of object
'_Form_frmCRLineItems' failed
When I debug, it highlights the line "Me.Parent.Recalc".
What could be causing this error?
Thanks in advance for any suggestions!
Private Sub Form_AfterUpdate()
Me.Parent.Recalc
End Sub
It is intended to update some calculated controls on a main form. I have 2
almost identical applications, the only difference being some of the controls
and row source properties. They both have the same basic structure. This
code works perfectly in one form, but in the other, when I try to make an
update to the subform, I get this error:
Run-time error '-2147417848 (80010108)': Method 'Recalc' of object
'_Form_frmCRLineItems' failed
When I debug, it highlights the line "Me.Parent.Recalc".
What could be causing this error?
Thanks in advance for any suggestions!