I have a database that has a field of type long text. It only allows 255 characters and if I add more then it truncates. Tried creating a new table and importing and same issue. Any ideas?
By default the Long Text (which was called Memo before Office 2013) is set to Plain Text which effectively limits the field to 255 (making it not much better than Short Text).
You have to go to the design view and change your field to Rich Text.
(taken from http://answers.microsoft.com/en-us/office/forum/office_2013_release-access/long-text-limit-254/7b927011-769f-416d-b0f7-352770270808?db=5&page=2)
Useful answer. Except if the field is full of HTML tags (which one wants to keep as tags). If one makes the field 'Rich Text' it interprets the contents and one loses the tags. A less than ideal condition.
Check the Format property of your long text field in both the database and any forms for the # character.
I removed the format character of # and everything appeared. All data over 255 characters was correctly saved in the database but subsequent views of the data only displayed the first 255 characters.
I don't like using Rich Text because it easily causes problems if you try and export the data to Excel or other formats because of the additional formatting characters in Rich Text format.
I found my solution was to set the query's Subdatasheet name to [Auto] (although after re-opening the query this field appears blank) the query now exports the long text in full. I hope this helps.
When you are in the export window, click advanced. It shows a grid of field information.
If you put your mouse over the 'Field name' heading and then move it right the cursor turns to a line with 2 arrows, move farther to the right and it turns to 2 lines with a space and 2 arrows. Click and drag right and you by magic get the skip field, go back to field name heading , do the same again and you magic the indexed, repeat and magic the width then the start and next time the data type. Ah the data type says it will be exported as a short text field, change it to long text and that is what it exports.
Related
I'm building a database on MS Access. I have 2 text box control which are both set as long text and see formatted as plain text. When the user enters data into these fields, most of the time it's a couple of paragraphs of text, so line breaks are required to start a new paragraph. I have both fields set to go to new line after hitting the enter button. Up until I linked the data tables to SharePoint the textbox fields on the userforms and reports would show those line breaks between paragraphs just fine. Now that I have linked the database tables to SharePoint, those line breaks don't show and it's now just a text box of run on plain text. Not showing the necessary breaks between paragraphs. I checked the SharePoint table, and the field in the table shows the breaks perfectly. I then checked the field in the data table within the database and it appears those breaks aren't there. And thus those breaks won't show in the userforms when the record is called up to view in a userform and even reports.
Any advise to possibly fix this would be a big help!!! I'm at the tail end of this project and not having theses breaks between paragraphs makes things look messy.
Thanks in advance!!!
So I am creating a database and need to enter two titles into a text box. I want to type the first one, and when I am done I try to hit "enter" to jump down to the next line but all it does is save what I entered and exit the text box. What I am doing wrong? I'm so used to just hitting "enter" when I'm in Microsoft Word to start a new line but that does not seem to be how it works in Access.
Press control-enter to get a newline.
Just a tip: If you are entering two values in a single field like that, you have a badly designed table structure.
Is this text box in a table/query grid view or is it a control on a form? If it's on a form, then in design mode there is a property of the text box called Enter key behaviour that you can use to determine whether focus should jump to the next control or a new line should be entered within the text box (as you're after).
I am using MS Access 2013 to display data from a MySql database on another server. I have a table that uses the linked table. I have a textbox with about 100 words in it. When I click in the textbox the cursor can sometimes appear in the middle of a letter. If I try to add or delete text it appears offset from the position of the cursor. I have turned off auto-correct and tried changing the behavior of the enter key. How can I make the cursor behave normally?
Most probably the text contains a Tab character. The textbox doesn't show it but it messes up editing as you describe.
Copy the text into a text editor that can show invisible control characters.
I need a little advice on the following problem.
In my App I call JSON data from the server, however I have no control on how much text each field will have.
Say Description: it could be anything from a single word to 1000 words.
I am looking for the Best approach on displaying an unknown amount of text
i.e. My terms and conditions is 5000 Words, but the Privacy policy is only 2000 words.
In Scrollview Keep LABEL and make LINES of label as 0. set top,bottom,leading and trailing constraints.
as shown here https://stackoverflow.com/a/24136440/5413426
I am trying to build a Flash application which would display data from a external source and scroll it from left to right.
I am new to action script world, i have found an example in which text is scrolling but here there is only one text field. I would like to have multiple text field depending upon my data loaded from external source. How can i achieve it. Do i need to create 10 text fields if my external data returns 10 records.
Any advice on this would be appreciated. Thanks
It depends on your task, if you need 10 lines of text information that moves independently, so you will need 10 text fields. Or you could scroll one text field and change it's content with a new information (next record). For scrolling of the text field you will need Timer or Enter frame handler or Tweening engine, as for changing text you will need some logic, like if text goes offscreen - show another text data.
For me, your question looks very similar to this one, check it, maybe it will be helpful for you.