
Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
Sorry I wasn't clear. This would work if I have a control for said field on
the form. I do not have a control (for this particular field) on the form.
When the user performs a certain action, I want to insert (directly into an
nvarchar field in my SQL database) a newline followed by text. So for
example I would think I could do this with an UPDATE statement... 'UPDATE
table SET fieldA = fieldA + \n + "my added text"'... or something like that?
Thanks,
Ryan
> Me.MyControl = "This is the first line." & vbCrLf & "This is the second
> line."
[quoted text clipped - 9 lines]
>> Thanks,
>> Ryan
Douglas J. Steele - 16 Feb 2006 23:27 GMT
Try SET fieldA = fieldA + Char(13) + Char(10) + "my added text"'
(Char(13) is Carriage Return, Char(10) is Line Feed)

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
> Sorry I wasn't clear. This would work if I have a control for said field
> on the form. I do not have a control (for this particular field) on the
[quoted text clipped - 20 lines]
>>> Thanks,
>>> Ryan