?
Solved

How to do vbCrLF in SQL

Posted on 2007-03-29
2
Medium Priority
?
6,612 Views
Last Modified: 2009-02-18
We have a memo field that serves as a scratchboard-type of notes field.  Several command buttons allow users to enter common phrases to the memo field by just clicking on them.
Example:
Me.reqnotes_memo = Me.reqnotes_memo & "  " & vbCrLf & date & "(" & Me.txtinit & ")-" & " Waiting on programming. "

The design is terrible, but for what it is used for- it serves a purpose.  Having said that, here is my question:

I need to have a user add data to reqnotes_memo field in this table from a screen other than the one mentioned above.  So his data will be appended using an update query.  I know how to do that with the exception of the vbCrLf.  How can I do a carriage return in SQL?
0
Comment
Question by:snyperj
2 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 18815822
use use CHAR(10) & CHAR(13)
0
 
LVL 26

Accepted Solution

by:
jerryb30 earned 2000 total points
ID: 18817009
chr(13) & chr(10), actually, in access
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question