How to force last row to be saved?

  • Thread starter Thread starter Laurel
  • Start date Start date
L

Laurel

I have a form of multiple rows (grades for different periods in the day).
When the Finish button is clicked, a subroutine deletes all the rows that
were created for a student if no scores were entered. My problem is that
the data in the last row the user worked on is not saved before that
subroutine is called. How can I force the save?

TIA
LAS
 
Make this the first line of code before you begin deleting records:

Me.Dirty = False
 
Back
Top