As to your error, I didn't think about that... simple fix, though, if you really want to go that route:
Code:
txtNotes.SetFocus
If IsNull(Me!txtNotes) OR Me!txtNotes = vbNullString Then
Me!txtNotes = Date & ": " & Me!case_status & " for depart on " & Me!case_compDate & " by " & Me!CaseID
Else
Me!txtNotes = Me!txtNotes.Text & Me!txtNotes = Date & ": " & Me!case_status & " for depart on " & Me!case_compDate & " by " & Me!CaseID
End If
Me!case_status = Null
Me!case_compDate = Null
Me!CaseID = Null
And at the end, you can set the focus to whatever control you want after that, if you want to move focus from the text box to something else. If want to go to the previous control, then it'd be best to create a variable to contain the previous control or the previous control name, so you can go back to it.
As to a way to deal with your notes history delimna, one quick and dirty fix would be this:
1. Create your notes table
2. Append all the current notes to the table, and just give them Now() for the date appended, and just either add an "about this note" text field and append a note there that says "prior to this date, added from historical notes" or whatever.
3. Then set your database up to always add a new record for a new note line, capturing who entered the note (Windows user) and when they added it. That really should be a VERY high priority if your'e keepign soemthing this long... and if it's really important. This is PARTICULARLY the case if it would be important for any legal matters.
Proper documentation can make or break a business in a heart beat.