R
reidarT
I use this method to change a field
Dim Kilde As String
Kilde = Chr(10)
Set db4 = DBEngine.Workspaces(0).Databases(0)
Set qd4 = db4.CreateQueryDef("", "UPDATE tblTest SET
tblTest.Comments = Replace(TekstFelt),Kilde,'<br>')")
qd4.Execute
The problem is that Chr(10) is supposed to be the Enter betwwen lines in a
memo-field,
but it doesn't work.
Do I use the wrong Ascii character?
reidarT
Dim Kilde As String
Kilde = Chr(10)
Set db4 = DBEngine.Workspaces(0).Databases(0)
Set qd4 = db4.CreateQueryDef("", "UPDATE tblTest SET
tblTest.Comments = Replace(TekstFelt),Kilde,'<br>')")
qd4.Execute
The problem is that Chr(10) is supposed to be the Enter betwwen lines in a
memo-field,
but it doesn't work.
Do I use the wrong Ascii character?
reidarT