Consulting

Results 1 to 4 of 4

Thread: Solved: Query truncated field

  1. #1
    VBAX Mentor ALe's Avatar
    Joined
    Aug 2005
    Location
    Milan
    Posts
    383
    Location

    Solved: Query truncated field

    Hi everybody,

    My query concatenates data from 3 text fields of a table in one field. The resulting string (very long) is truncated.

    How can avoid this? Is there a way to define the resulting field as memo and not as text (max 255 ch.)?

    Thanks in advance
    ALe
    Help indigent families: www.bancomadreteresa.org

  2. #2
    Knowledge Base Approver VBAX Master Oorang's Avatar
    Joined
    Jan 2007
    Posts
    1,135
    Location
    Yep. But I need to know more:
    What kind of query? (Please post the SQL.)
    How are you using it?
    Cordially,
    Aaron



    Keep Our Board Clean!
    • Please Mark your thread "Solved" if you get an acceptable response (under thread tools).
    • Enclose your code in VBA tags then it will be formatted as per the VBIDE to improve readability.

  3. #3
    VBAX Mentor ALe's Avatar
    Joined
    Aug 2005
    Location
    Milan
    Posts
    383
    Location
    Yep. But I need to know more:
    What kind of query? (Please post the SQL.)
    How are you using it?
    Thank you Aaron. I found the solution. The Sql is very simple (just Select and group by).

    SOLUTION: when you use "group by" on a memo field this is truncated by access to do the aggregation. The solution is to change the aggregation from "Group by" to "First".

    Bye
    ALe
    Help indigent families: www.bancomadreteresa.org

  4. #4
    Knowledge Base Approver VBAX Master Oorang's Avatar
    Joined
    Jan 2007
    Posts
    1,135
    Location
    Heh. Much simpler than what I was thinking
    Cordially,
    Aaron



    Keep Our Board Clean!
    • Please Mark your thread "Solved" if you get an acceptable response (under thread tools).
    • Enclose your code in VBA tags then it will be formatted as per the VBIDE to improve readability.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •