How to append more lines at the end of a memo field? (1 Viewer)

arage

Registered User.
Local time
Today, 20:29
Joined
Dec 30, 2000
Messages
537
How to append more lines at the end of a memo field?
I have table field called NOTES which I use to write various notes, sometimes the same note is stretched across several records & I would like to be able to append it to the records using an update query. However, if any of the affected records already contain pre-existing notes then I’d like to be sure that the new note I append to the field adds an ENTER character before appending the new note, how do I do this though? I tried writing something like this in the UPDATE TO row of the query, but it doesn’t work.

VBCRLF & “This is the new note appended to the end of the note field”

Please advise. :D
 

cpod

Registered User.
Local time
Today, 14:29
Joined
Nov 7, 2001
Messages
107
You can put something like this in the Update To row of the query:


[memofield] & IIf([memofield] Is Null,"",Chr(13) & Chr(10)) & "Additional text"

Of course, change "memofield" to the name of your memo field.
 

Users who are viewing this thread

Top Bottom