Results 1 to 3 of 3
  1. #1
    SteveApa is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    84

    Weird Crosstab results

    Hi All.



    Getting a weird result from a crosstab query. If I do a select query, I see "Comments" field fine. But, in a crosstab I see the comments converted to characters like... I did a length check in a select query and I am not over 255. 

    Click image for larger version. 

Name:	Capture.JPG 
Views:	6 
Size:	18.0 KB 
ID:	19480
    Thanks.
    Steve

  2. #2
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    If the comment field is defined as a memo type you will get results like that - it doesn't matter how much text is in the comment.

    try using left(comments,255).

  3. #3
    SteveApa is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    84
    Thanks. I checked the linked table and it is of type Long Text. It is strange that all select queries show it properly, but crosstab does not. Thanks for the help. left 254 fixed it.

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

Similar Threads

  1. Replies: 4
    Last Post: 09-12-2013, 03:58 PM
  2. Weird Query Results using Percentage criterion
    By david.semadeni in forum Queries
    Replies: 6
    Last Post: 04-09-2012, 10:59 AM
  3. Replies: 2
    Last Post: 03-27-2012, 01:59 AM
  4. Weird Query results
    By UCBFireCenter in forum Queries
    Replies: 0
    Last Post: 10-06-2009, 03:38 PM
  5. Get the sum of decimal values - weird results
    By BengtCarlsson in forum Queries
    Replies: 2
    Last Post: 02-10-2006, 04:29 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