Results 1 to 5 of 5
  1. #1
    tonygg is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    115

    Making text boxes format correctly

    Hi. Sorry in advance to be asking a dumb question but I cant seem to figure out what is wrong. I have created a form to display records from a table. All good excluding some of the text in text boxes are not displaying correctly. They have odd spacing and return in the text. The source record looks fine and if I msgbox the fields they display correctly. They just dont appear correctly in the text boxes.


    Click image for larger version. 

Name:	Record Popup.jpg 
Views:	23 
Size:	116.5 KB 
ID:	29233
    The image above shows the format in the text boxes (circled).

    The top circled area should read "Bella Leaf 9900-192"

    The second "You can order as a fat quarter, long quarter, in increments of half metres or as an end of bolt."

    and the third "PLEASE NOTE: Only 1.9 metres on bolt and 4 cut fat quarters remaining."

    Please could someone put me out of my misery and let me know what I am doing wrong.

    Many thanks

    tony

  2. #2
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,776
    What does this mean?
    The source record looks fine
    Is the table field a memo type (long text) and is its text format set to rich text?
    msgbox the fields they display correctly
    I'm not surprised. Carriage return/line feed characters would not display in a message box. You could try copying/pasting from Access form control or table field (ensure you get all the text in a record by increasing the height of the table row until you see all of what's in the record) and pasting into Word. Then on the Home tab of Word ribbon, select to see paragraph markers in what you pasted. My guess is that you'll see new paragraph marker between "quarters" and "remaining".

    Perhaps from a program that allows Word document types of formatting you have grabbed the text and pasted it into the table record?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    tonygg is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    115
    Hi Micron,

    Thank you for the information. It was very helpful. I changed to long text & rich text and it sorted it out.

    I will know for next time.

    Many thanks

    Tony

  4. #4
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,776
    glad to have helped in some small way.
    Good luck with your project.

  5. #5
    tonygg is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    115

    Cool

    Quote Originally Posted by Micron View Post
    glad to have helped in some small way.
    Good luck with your project.
    You helped in a big way. I was clearly never going to see the wood for the trees. Many thanks!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 12-30-2016, 10:27 AM
  2. Making Report Format Form
    By wes9659 in forum Reports
    Replies: 4
    Last Post: 03-06-2015, 10:08 PM
  3. Replies: 3
    Last Post: 01-22-2015, 12:47 AM
  4. Replies: 3
    Last Post: 08-07-2014, 08:48 AM
  5. Replies: 16
    Last Post: 08-19-2010, 01:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums