Solved

I need help saving the value from a multiline text box in Access 2013.

Posted on 2014-12-24
4
795 Views
Last Modified: 2014-12-26
Hi Experts,
I need help saving text from a multi line textbox in ACCESS 2013.
I have set the text box's Enter Key Behavior to New Line in Field.  I have also added a verticle scroll bar to the text box.
In View mode, the text box acts like a multi line control.  The cursor moves to the next line when the enter key is pressed, and I am able
to enter multiple lines of text. I am also able to scroll up and down the control.
However, when I save the record, only the first line of text is saved.  How can I make it so all of the text is saved in the database from the
multiline?

Thanks in advance,
mrotor
0
Comment
Question by:mainrotor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
Robert Sherman earned 400 total points
ID: 40516155
Are you sure only the first line of text is being saved to the table?   I just set up a quick sample database with a table containing both a Text field and a Memo field, as well as a form with both of those fields.  For both form fields I set the Enter Key Behavior to New Line in Field.  My tests show that in both fields multi-line text is saved.  

I'm attaching the sample file so you can compare the behavior on your system.  Note that I used Access 2010 for this, as I don't have 2013 on this machine.  I am not aware of any change in behavior between the versions with regard to multi-line text.
Database13.accdb
0
 
LVL 58

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 50 total points
ID: 40516297
As Robert has said, you need to look again.  It may only look like one line is there, but it  is all there.  

By default, a table display is one line per record, but if you expand the height of the rows, or cursor to the end of the line in the field, then hit right cursor, you'll jump to the next line.

Jim.
0
 
LVL 7

Expert Comment

by:Robert Sherman
ID: 40516317
Another trick is SHIFT-F2, which brings up a Zoom window specifically to see multi-line text from a smaller text field.
0
 
LVL 48

Assisted Solution

by:Dale Fye (Access MVP)
Dale Fye (Access MVP) earned 50 total points
ID: 40516325
You might also need to look at the data type (text or memo) and if text, the number of characters defined for the field in the table design.
0

Featured Post

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

691 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