Using Parameters eliminates the need to cleanup the text and the possibility of injection.
Public Sub inToDisc(dFamily As String, sFamily As String, nAccno As Double, sStr As String)
' I don't know where oDB is, so I used CurrentDb
' See the new ,Nones in insert and [sStr] as NewNote...