Results 1 to 4 of 4
  1. #1
    MykelDL is offline Novice
    Windows 10 Office 365
    Join Date
    May 2017
    Posts
    27

    Text Data in Report Header Being Truncated

    Hello!

    Thank you in advance for taking the time to read this and offer suggestions.

    Situation
    • I've created a shipping report that I export to PDF.
      • In the details section of the report, I've got a field that is a hyperlink to the file on SharePoint. I create the link by concatenating two table fields in a way that works in PDFs (and in the report when viewed on screen). The end result for this field is basically: DocumentName#SharePointURL#. The user only sees the document name because the textbox control is Plain Text, but it behaves like a hyperlink (blue, underlined).
      • I group my report on each shipment (data only, as there are no shipping labels on SharePoint that are stored in my database.) Hence: 1 shipment --> Many documents with hyperlinks to view the documents, if needed.
      • This all works as intended.

    • I'm now doing a new report for Approvals.
      • It's very similar to the shipping report, with the difference being that I also have an approval letter that is stored on SharePoint.
      • Each approval typically covers multiple approved documents, so I am grouping my report on the unique ApprovalID.




    Issue
    In creating the textbox to hold the Approval Letter data (ApprovalLetter#SharePointURL#), there are no problems when that textbox in the Detail Section of the report. But when I move that same textbox to the ApprovalID Header, the data in the textbox gets truncated and the hyperlink does not work as intended. It seems to be limited to 298-299 characters. The number of characters in these fields is often 350-400. Trying to troubleshoot, I put the same ControlSource in a new textbox in the Detail section of the report. It does not get truncated and the hyperlink works. I also tried changing the control to Rich Text. This did not help with the truncation issue and it changed the appearance of the data to be the full field.

    Is this a known limitation? Is there a way to fix this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Header is performing a grouping behavior. Long Text fields cannot be "grouped" without truncating.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    MykelDL is offline Novice
    Windows 10 Office 365
    Join Date
    May 2017
    Posts
    27
    Quote Originally Posted by June7 View Post
    Header is performing a grouping behavior. Long Text fields cannot be "grouped" without truncating.
    Thank you for the response. Do you think it would work to put a subreport in the group header with just the Approval Letter link, as a workaround?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Sounds like it would. Try.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Import of long text is truncated at 255 chars
    By daredan in forum Programming
    Replies: 16
    Last Post: 09-07-2022, 08:46 AM
  2. Replies: 18
    Last Post: 01-12-2016, 11:53 AM
  3. Replies: 1
    Last Post: 02-22-2013, 09:39 PM
  4. autopopulated text box has truncated text
    By tobydobo in forum Forms
    Replies: 3
    Last Post: 01-14-2013, 10:38 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