Solved

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

Posted on 2014-12-24
4
715 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
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
Robert Sherman earned 400 total points
Comment Utility
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 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 50 total points
Comment Utility
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
Comment Utility
Another trick is SHIFT-F2, which brings up a Zoom window specifically to see multi-line text from a smaller text field.
0
 
LVL 47

Assisted Solution

by:Dale Fye (Access MVP)
Dale Fye (Access MVP) earned 50 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Read about achieving the basic levels of HRIS security in the workplace.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now