Hi all,
Hopefully a very quick and easy one.
I have a memo field that is updated from time to time and acts a running sheet for customer enquiries. I am using the following code to update using SQL -
I was under the impression that the semicolon ";" forced a new line in the record - but this does not seem to work. Can anyone help me with this one?
Thanks
Robert
EDIT: I have now found the correct answer Chr(13) & Chr(10) in the statement. Thank you
Hopefully a very quick and easy one.
I have a memo field that is updated from time to time and acts a running sheet for customer enquiries. I am using the following code to update using SQL -
Dim strSQL As String
strSQL = "UPDATE tblEnquiries SET Running_Sheet =" & Chr(34) & Me.txtPriorContact.Value & ";" & Me.txtRunSheet.Value & Chr(34)
strSQL = strSQL & " WHERE ID = " & Me.txtID.Value & ";"
CurrentDb.Execute strSQL
I was under the impression that the semicolon ";" forced a new line in the record - but this does not seem to work. Can anyone help me with this one?
Thanks
Robert
EDIT: I have now found the correct answer Chr(13) & Chr(10) in the statement. Thank you

Last edited: