Here’s a weird one.
A query "qryRequirementsAction" concatenates a field [Requirements] to 255 chars. The field [Requirements] is from another query "qryRequirementsActionPre" where it is not concatenated. The field [Requirements] in the underlying table is a Memo field.
See query layouts below.
How do I stop the field being concatenated?
Query concatenates field
-
- 5StarLounger
- Posts: 962
- Joined: 09 Feb 2010, 00:33
- Location: Patterson Lakes, Victoria, Australia
Query concatenates field
You do not have the required permissions to view the files attached to this post.
Avagr8day, regards, Peter
-
- Administrator
- Posts: 78639
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Query concatenates field
Do you mean "truncates" instead of "concatenates"?
There are several situations in which Access truncates a memo field to a text field of 255 characters:
- If you apply any kind of format to the field.
- If you group the records in any way, i.e. if you have a Totals query (Σ is on) or if you have set the Unique Values property of the query to Yes.
There are several situations in which Access truncates a memo field to a text field of 255 characters:
- If you apply any kind of format to the field.
- If you group the records in any way, i.e. if you have a Totals query (Σ is on) or if you have set the Unique Values property of the query to Yes.
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 962
- Joined: 09 Feb 2010, 00:33
- Location: Patterson Lakes, Victoria, Australia
Re: Query concatenates field
Thanks Hans.
Yes I did mean 'truncate'.
The query "qryRequirementsAction" does have the Unique Values property set to 'Yes'.
Any ideas on how I might overcome this
Yes I did mean 'truncate'.
The query "qryRequirementsAction" does have the Unique Values property set to 'Yes'.
Any ideas on how I might overcome this
Avagr8day, regards, Peter
-
- Administrator
- Posts: 78639
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Query concatenates field
By setting "Unique Values" to No, but that's probably not what you want.Peter Kinross wrote:Any ideas on how I might overcome this
Depending on the structure of the data, you might be able to get around this problem by removing the Requirements column from qryRequirementsAction, then creating a new query based on qryRequirementsAction and Policies, joined on Pol No, to add the Requirements field.
Best wishes,
Hans
Hans