I have a memo field that is included in some Access reports I created.
Is there some way for the memo field to display nicely formatted text,
with line breaks between paragraphs? Or is it necessary to export the
report?
I tried exporting a report by using the .rtf rich-text format (the
plain-text format was the only other word-processing option listed
when exporting). I then opened the .rtf file in Word. However, it
looks like some manual adjustments are necessary when adding line
breaks into a memo field (adjustment of the next tab over – to move it
further to the right – when making the field for the memo field a bit
wider, since the addition of line breaks and attempts to line up the
text can result in a wider block of text).
Is there a better, less manual way to make formatting of line breaks
occur in memo-field text? 4 22768
The memo field should handle line-breaks correctly where you have embedded
CR-LF pairs within the field (i.e. ascii 13 and ascii 10).
You may be able to use the Replace() function to replace actual embedded
characters with the format you want.
Alternatively, if you want to go with rich text, visit www.lebans.com for a
rich text control.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"intl04" <kr***@hotmail. com> wrote in message
news:41******** *************** ***@posting.goo gle.com... I have a memo field that is included in some Access reports I created. Is there some way for the memo field to display nicely formatted text, with line breaks between paragraphs? Or is it necessary to export the report?
I tried exporting a report by using the .rtf rich-text format (the plain-text format was the only other word-processing option listed when exporting). I then opened the .rtf file in Word. However, it looks like some manual adjustments are necessary when adding line breaks into a memo field (adjustment of the next tab over - to move it further to the right - when making the field for the memo field a bit wider, since the addition of line breaks and attempts to line up the text can result in a wider block of text).
Is there a better, less manual way to make formatting of line breaks occur in memo-field text?
Could you tell me how users accessing a data entry form connected to
the Access database can enter CR-LF pairs within the memo field? I did
a Google search on 'CR-LF' and found a lot of information - but it
mostly pertained to exporting and importing text between different
platforms and programs, from what I could see. Is it possible to put
in \r\n into the text, to insert paragraph breaks into the memo field
that will also appear in printed reports? Or what are the characters
to represent CR-LF, if not \r\n?
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message news:<40******* *************** @freenews.iinet .net.au>... The memo field should handle line-breaks correctly where you have embedded CR-LF pairs within the field (i.e. ascii 13 and ascii 10).
You may be able to use the Replace() function to replace actual embedded characters with the format you want.
Alternatively, if you want to go with rich text, visit www.lebans.com for a rich text control.
-- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org.
If you have a text box on a form where the users enter the info into the
memo field, set the text box's EnterKeyBehavio r property to:
New line in field
When they press the Enter key, it inserts a carriage-return line-feed pair.
Alternatively, Ctrl+Enter inserts a cr-lf.
In code, use vbCrLf. For example, this line adds a new line to the existing
data in a memo field:
Me.MyMemo = Me.MyMemo & vbCrLf & "Some more stuff"
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"intl04" <kr***@hotmail. com> wrote in message
news:41******** *************** ***@posting.goo gle.com... Could you tell me how users accessing a data entry form connected to the Access database can enter CR-LF pairs within the memo field? I did a Google search on 'CR-LF' and found a lot of information - but it mostly pertained to exporting and importing text between different platforms and programs, from what I could see. Is it possible to put in \r\n into the text, to insert paragraph breaks into the memo field that will also appear in printed reports? Or what are the characters to represent CR-LF, if not \r\n? "Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:<40******* *************** @freenews.iinet .net.au>... The memo field should handle line-breaks correctly where you have
embedded CR-LF pairs within the field (i.e. ascii 13 and ascii 10).
You may be able to use the Replace() function to replace actual embedded characters with the format you want.
Alternatively, if you want to go with rich text, visit www.lebans.com
for a rich text control.
Thanks for the helpful info! I decided not to modify the
EnterKeyBehavio r property, though. I just found what I needed at http://www.columbia.edu/kermit/ascii.html . It gives ctrl-key
combinations to produce ASCII characters: for example, entering ctrl-j
or ctrl-m twice will give a paragraph break (ctrl-j produces a line
feed and ctrl-m produces a carriage return). So, I'm just asking the
end users of the database to use those keys to produce paragraph
breaks.
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message news:<40******* *************** @freenews.iinet .net.au>... If you have a text box on a form where the users enter the info into the memo field, set the text box's EnterKeyBehavio r property to: New line in field When they press the Enter key, it inserts a carriage-return line-feed pair.
Alternatively, Ctrl+Enter inserts a cr-lf.
In code, use vbCrLf. For example, this line adds a new line to the existing data in a memo field: Me.MyMemo = Me.MyMemo & vbCrLf & "Some more stuff"
-- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org.
"intl04" <kr***@hotmail. com> wrote in message news:41******** *************** ***@posting.goo gle.com... Could you tell me how users accessing a data entry form connected to the Access database can enter CR-LF pairs within the memo field? I did a Google search on 'CR-LF' and found a lot of information - but it mostly pertained to exporting and importing text between different platforms and programs, from what I could see. Is it possible to put in \r\n into the text, to insert paragraph breaks into the memo field that will also appear in printed reports? Or what are the characters to represent CR-LF, if not \r\n? "Allen Browne" <Al*********@Se eSig.Invalid> wrote in message news:<40******* *************** @freenews.iinet .net.au>... The memo field should handle line-breaks correctly where you have embedded CR-LF pairs within the field (i.e. ascii 13 and ascii 10).
You may be able to use the Replace() function to replace actual embedded characters with the format you want.
Alternatively, if you want to go with rich text, visit www.lebans.com for a rich text control.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jeremy |
last post by:
I have a pretty straightforward database that is designed to record
free-form information about products (date, source and a memo field).
This is searched and updated via a form. For new records, the memo
field is usually filled by cutting and pasting from e-mails, web
content and spreadsheets.
The only problem is that some of the memos can be just a few words,
and some can be tens or hundreds of lines, and I've realised that
zooming...
|
by: deko |
last post by:
I have an mdb (2002 file format) that uses memo fields extensively. I've
read a lot about how problematic memo fields can be and that avoiding them
is a good idea. But I'm stuck with them and was wondering if there are any
best-parctices for optimizing or mitigating the risk of using them. Here's
what one table looks like:
NoteText - Memo
NoteDate - Date/Time (indexed, dupes ok)
NoteBrief - Text (length = 254)
Entity_ID - (Long,...
|
by: jimmyshaw83 |
last post by:
I am sorry if this topic is tired, but after all that I have read I am
still in the woods here. I have built a database to handle weekly and
monthly reports of what people are doing. They submit what they are
working on and then you input a date and the info is narrowed allowing
a report to be created containing all of the memo fields submitted
during those dates. My Source Query gets all the memo fields in their
entirety (greater than...
|
by: ghadley_00 |
last post by:
I have an access database form where I have a button that is supposed
to be appending the contents of 1 memo field to another is behaving
non-predictably. The code is:
Me! = Me! & Chr$(13) & Chr$(10) & Me! &
Chr$(13) & Chr$(10) & Me!
Me! = Me! & Chr$(13) & Chr$(10) & Me! &
Chr$(13) & Chr$(10) & Me!
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
|
by: jacoballen |
last post by:
I have a query that combines the results of three related tables. The
memo fields are truncated to 255 characters, but I need all the
information in them. I'm aware that removing code such as DISTINCT and
GROUPBY will fix this problem (as discussed in other threads in this
group), but I need to limit the query results to unique values, which
is what DISTINCT does for me. Any suggestions?
Thanks,
Jacob
| |
by: ARC |
last post by:
This is mainly a speed question.
In this example: I have a QuotesHdr table that has a few memo fields. If
these memo fields are used extensively by some users, and if their are a
large number of records in QuotesHdr, should I break out the memo fields
into a separate table? The thinking here is that, for Quotes selection
dropdowns that display all entries in QuotesHdr for selection, I would think
that the entire record comes down over...
|
by: Charles |
last post by:
Hello,
I'm trying to find a good program to use for editing memo fields in Access
2003. I'd love to use Notepad or Wordpad, but the only option I'm really
finding is a program called Total Access Memo.
All I'm looking to do is have a field for notes, and be able to add/edit the
text - and be able to use the return key to add more lines, etc.without
jumping to the next record. Can Access do this natively?
TIA,
|
by: steph |
last post by:
I have a table with 250 fields. Of course you are wondering why 250
fields... what could I possibly be storing in so many fields?
I am using this table as a general import table for files that vary
based on user selections. The input files are CSVs and can number from
2 to 175 columns. Each field is usually able to fit into a Text field
(< 255 characters) but every now and then a longer field creeps in.
since I don't know in which column...
|
by: Jimmy Jones |
last post by:
First of all - all answers that I could find via Google do not give me any explicit info as to how to handle this problem. So please - do not paste the following link for the hundreth time:
http://allenbrowne.com/ser-63.html
... instead I would really, really appreciate if someone could ultimately state whether:
1) ...there is a way of importing Excel file to Access without truncating text fields containing above 255 characters?...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |