G
Guest
I have a form with ontimer event where starts on the first record when it
open, then via a gotonextrecord func to the last record in the recordset.
For every record I want to save the calculated value from Total and
TotaltInbetalt to the bound controls Total2 and TotaltInbetalt2.
Tried the on current below but did not autosave when from one record to
another!
Private Sub Form_Current()
Me!Total2 = Nz(Me!Total)
Me!TotaltInbetalt2 = Nz(Me!TotaltInbetalt)
'DoCmd.RunCommand acCmdSaveRecord
End Sub
Thank you in advance
Mattias
open, then via a gotonextrecord func to the last record in the recordset.
For every record I want to save the calculated value from Total and
TotaltInbetalt to the bound controls Total2 and TotaltInbetalt2.
Tried the on current below but did not autosave when from one record to
another!
Private Sub Form_Current()
Me!Total2 = Nz(Me!Total)
Me!TotaltInbetalt2 = Nz(Me!TotaltInbetalt)
'DoCmd.RunCommand acCmdSaveRecord
End Sub
Thank you in advance
Mattias