Hello everybody,
I need some help. Long time ago I was quite good I VBA.. but most of it has gone.
Following problem. I got a form having 5 fields of revenues generated by different payment channels (creditcard, card, online..). In the same form I have embedded 5 subforms, each of them calculating the revenues of the named payment methods.
Now I'd like that access fills in the fields in the main form with the relevant values of the subforms.
Could be by clicking a button on the main field, doing the job, so afterwards I can check if the values seem reasonable.
I tried something but it end up with an error, telling me that it won't find the element:
Private Sub TxtBar_DblClick(Cancel As Integer)
Me![1 UF Cash].Form.SumBar = Me.Bar
DoCmd.RunCommand acCmdSaveRecord
End Sub
Thanks a lot!!