
Originally Posted by
Datagopherdan
I know in previous version there were issues with the "Memo" type fields that would cause the data to be displayed with all different types of characters. Another cause could be that you have some underlying code that is triggering it to do that. I would take a look at both areas.
Ok, I found the underlying code that makes this happen but I don't know how to fix it (I didn't write it...), and don't wanna screw it up even more can anyone take a look? thank you.. This code is triggered when the user clicks the close button in one of the subforms.
Code:
Private Sub Form_Close()
Dim db As DAO.Database
Dim rs1 As DAO.Recordset
Dim i As Integer
Set db = CurrentDb()
Set rs1 = db.OpenRecordset("Document Table", dbOpenDynaset)
rs1.MoveFirst
rs1.Edit
rs1.Fields(1) = 0
rs1.Update
For i = 1 To rs1.RecordCount - 1
rs1.MoveNext
rs1.Edit
rs1.Fields(1) = 0
rs1.Update
Next i
rs1.Close
End Sub