473,399 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

query with memo field cuts off at 255 characters

I have just run into a problem where I have a text box control on a form
that is linked to a memo field in a table. When I type a really long
comment into the field, it allows me to type it and then does save the
entire comment to the table. However, when I use a query which includes
this field to send to a report, the field is truncated at the old text field
limit of 255 characters. I have ascertained that it is happening in the
query, not on the report. Has anyone experiences this before and if so, how
do I overcome it. I am using Access 2000.

dixie
Nov 12 '05 #1
2 16676
OK, I'll answer my own question after some quick experimenatation. If you
use First or Last and not GroupBy in the query on the memo field it will
return the fully number of characters. Weird, but it works - actually to me
that seems like a bug!

dixie

"dixie" <di****@dogmail.com> wrote in message
news:Sm***************@nnrp1.ozemail.com.au...
I have just run into a problem where I have a text box control on a form
that is linked to a memo field in a table. When I type a really long
comment into the field, it allows me to type it and then does save the
entire comment to the table. However, when I use a query which includes
this field to send to a report, the field is truncated at the old text field limit of 255 characters. I have ascertained that it is happening in the
query, not on the report. Has anyone experiences this before and if so, how do I overcome it. I am using Access 2000.

dixie

Nov 12 '05 #2
"dixie" <di****@dogmail.com> wrote in message
news:zi***************@nnrp1.ozemail.com.au...
OK, I'll answer my own question after some quick experimenatation. If you use First or Last and not GroupBy in the query on the memo field it will
return the fully number of characters. Weird, but it works - actually to me that seems like a bug!

dixie


Actually it's a feature. Until Access 2000 you couldn't do a GroupBy on a
memo field at all. It just gave you an error indicating that it wasn't
allowed. You could however do a GroupBy on the expression
Left([MemoField,255). The newer versions of Access just starting doing
this for you automatically in the background instead of disallowing the
GroupBy entirely. I do agree though that it was a mistake to not alert the
person creating the query to this fact.

The reason for these limitations is that memo content is not actually
stored in the table. Only a pointer to its location on disk is. This
makes features like sorting and grouping _very_ inefficient because the
query has to use the pointer to go "get" the text, evaluate it, and then
apply the sorting and grouping.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: GorDon | last post by:
Hi, I have a report based on a query. The query grabs a memo field from my main table, yet when I display the memo field in the report it truncates the memo field (the field needs to hold more...
1
by: Rose | last post by:
I have an access 2000 database. In it I have a table OPEN Items which has a field Issue that is setup as a MEMO field. I am trying to append information from another table with the same setup,...
2
by: Chris | last post by:
I'm sure this is a very easy one if you know, but any help would be appreciated I have a field in my database which needs to be as long as poosible. in the help it says that a memo field is 4000...
1
by: Montana_Trader | last post by:
I have a product database that includes a memo field for product descriptions. That database must be imported into a legacy system that has four text fields for product descriptions, each with a...
7
by: midlothian | last post by:
Does using CStr on a memo field truncate it to 255 characters? Seems like this is happening with some data in my tables. Is there a way around this?
2
by: Teresa L | last post by:
I am using Access 2003. I have a memo field that I have put into a report. My problem is that the report will only show a specific amount of characters in the report. It does not display the...
3
isladogs
by: isladogs | last post by:
Hi I am using Access 2003. I have an unbound form "SelectReview" with an unbound text box "txtLetterText" used to enter text for a memo field. The table "MergeLetterText" contains the memo...
5
by: Dean | last post by:
Hi, I have a table with non-unique identifiers. I need to take all the values with the same ID's and combine them into one field with a semicolon as a seperator. These values may exceed 255...
3
by: nujcharee | last post by:
Hi I have a series of queries, I have a number of temp tables which I use as templates for my data. I start with 1. Delete the data in a temp table 2. Use append query to fill the temp table...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.