I am slowly getting to the bottom of my project but have hit a further rock!
I am trying to get the total of the field RIDOCR/RIDITSOR/RIDCPCR from the frmRuns into the relative fields on the frmDuties and copy that value in the table so that I can use it for statistic purposes later on.
In the sfrmRuns I have a field for the sum of all various values
So I get the total for every run in the sfrmRuns, I then need to paste this value in the frmDuties
I used the code to transfer the value to the tblDuties, this does not seem to be working.
Also I have noted that the total in the form not be updated until I moved out from the record and I get to the next record in the sfrmRuns.
I believe I have chosen the wrong approach, is there a better option to my issue and also the total update to be responsive once I move off the field from the sfrmRuns?
I attached the sample DB I am trying to work on
Thanks.
I am trying to get the total of the field RIDOCR/RIDITSOR/RIDCPCR from the frmRuns into the relative fields on the frmDuties and copy that value in the table so that I can use it for statistic purposes later on.
In the sfrmRuns I have a field for the sum of all various values
Code:
=Sum([RIDOCR])
So I get the total for every run in the sfrmRuns, I then need to paste this value in the frmDuties
I used the code to transfer the value to the tblDuties, this does not seem to be working.
Code:
Me.RIDOC.Value = Me.RIDOCDT
Also I have noted that the total in the form not be updated until I moved out from the record and I get to the next record in the sfrmRuns.
I believe I have chosen the wrong approach, is there a better option to my issue and also the total update to be responsive once I move off the field from the sfrmRuns?
I attached the sample DB I am trying to work on
Thanks.