Thank you
My code is as follows
Dim Kilde As String
Kilde = Chr(13) & Chr(10)
Set db4 = DBEngine.Workspaces(0).Databases(0)
Set qd4 = db4.CreateQueryDef("", "UPDATE tblTest SET
tblTest.NotatFelt = Replace(NotatFelt),Kilde,'<br>')")
qd4.Execute
NotatFelt is the Memo-code.
I get an Update-error
reidarT
"Marshall Barton" skrev
reidarT said:
How do I replace [enter] between lines in a memo field to another
character?
(I know the replace command, I just want to know the ascii value for
enter in a memo -field)
Depends on where the new line was inserted. Excel uses the
NewLine character, Chr(10) Some programs use the Carriage
Return character Chr(13). If it was done in Access, the
character sequence Chr(13) & Chr(10)