Results 1 to 9 of 9
  1. #1
    perryc is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2019
    Posts
    122

    Query field got truncated

    All, I have the following text in a table, it displays fine. (Long field, plain text format). However, when pull to Query, it got truncated. Why?

    Workday and HOMECARE INSTITUTE (HCI) courses to include Home Health and Hospice Virtual Orientation – Recorded. Click “Bon Secours Mercy Health” on the left side of the page, Locate the following by course number: 1. Home health Care Services course 1070005 (1 hr.), 2. Home Care Basics Course 1070008(1 hr.) 3. Home Care Beyond the Basics course 1070019 (1 hr.) 4. Wound Care Basics course 1130001 (1 hr.)

    It only displays up to 107000 right before the 2.

    I have searched for solutions, but it seems nothing works. Including this: http://allenbrowne.com/ser-63.html


    Please share some insight. Ty

    Sincerely,


    Perry

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    What's the SQL of the query and name of this field?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    perryc is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2019
    Posts
    122
    I did more investigation, actually the query itself is ok, but it may have to do with the text field in the Form and in the report. They got truncated.

  4. #4
    perryc is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2019
    Posts
    122
    Paul, ty so much for jumping in. I did more investigation, actually the query itself is ok, but it may have to do with the text field in the Form and in the report. They got truncated. The field is just called CourseDetails

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Msoft didn't bother fixing that bug. Long texts will truncate at 255 in a query. Thanks Microsoft.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Can you attach the db here, or at least the objects needed to duplicate this issue?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    perryc is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2019
    Posts
    122
    I do not know how. I am so sorry. I am at work, so, my work blocked all Google and Onedrive as well. Ahhhh.. Well, basically I created a field in a form and made that a multi-select box querying from a table with these text, text seems appear ok in Query, just not in the form or report

    Workday and HOMECARE INSTITUTE (HCI) courses to include Home Health and Hospice Virtual Orientation – Recorded. Click “Bon Secours Mercy Health” on the left side of the page, Locate the following by course number: 1. Home health Care Services course 1070005 (1 hr.), 2. Home Care Basics Course 1070008(1 hr.) 3. Home Care Beyond the Basics course 1070019 (1 hr.) 4. Wound Care Basics course 1130001 (1 hr.)



    I did more test, if I create a form, and pull in the Table, it displays all the characters. However, what I did was a drop down box instead to bring in the field, and it is truncated. I am confused.

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Ah, the problem is the combo box. It appears a textbox will display everything, a combo won't. Why are you using a combo? I found this with a possible solution:

    https://social.msdn.microsoft.com/Fo...nto-a-combobox
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #9
    perryc is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2019
    Posts
    122
    Ty so much!!! I will read the link. Well, the reason for the Combo box is because I want to allow people to choose from a drop down list. Ty again.

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

Similar Threads

  1. Fetched column value was truncated
    By leesider in forum Access
    Replies: 2
    Last Post: 08-14-2020, 12:27 AM
  2. Replies: 1
    Last Post: 11-23-2017, 03:22 PM
  3. VBA SQL query gets truncated
    By DCross in forum Queries
    Replies: 4
    Last Post: 06-19-2015, 03:44 PM
  4. Expand reports truncated field
    By Thompyt in forum Programming
    Replies: 1
    Last Post: 06-01-2015, 08:27 AM
  5. Truncated field in my report
    By cvolkers in forum Reports
    Replies: 1
    Last Post: 03-08-2011, 12:11 AM

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