P
P
Hi. I created a save button that runs the following code:
if frmMain.Dirty then frmMain.dirty = false
With frmMain
.AllowEdits = False
End With
....
set rst = frmMain.RecordsetClone
rst.Bookmark = frmMain.Bookmark
frmMain.Requery
frmMain.Bookmark = rst.Bookmark
When I click Save, the form comes up with the previous record showing, one
off the new record. How could I set the form to come up with the newly saved
record? Thank you for your help. P
if frmMain.Dirty then frmMain.dirty = false
With frmMain
.AllowEdits = False
End With
....
set rst = frmMain.RecordsetClone
rst.Bookmark = frmMain.Bookmark
frmMain.Requery
frmMain.Bookmark = rst.Bookmark
When I click Save, the form comes up with the previous record showing, one
off the new record. How could I set the form to come up with the newly saved
record? Thank you for your help. P