Auto save a record

  • Thread starter Thread starter arm
  • Start date Start date
A

arm

Hello! Could anyone please help me. I have this subform called
fsubWeeklyDate (in a continuous format) where the date field is
automatically filled when on new record. Is there a way (by code) to auto
save a new record other than pressing Shift+Enter key combination? Thank
you very much in advance.
 
Private Sub form_current()
With Me
If .NewRecord Then
.Dirty = True
.Dirty = False
End If
End With
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top