PC Review


Reply
Thread Tools Rate Thread

disctinct query memo field

 
 
inungh
Guest
Posts: n/a
 
      17th Nov 2010
I have a select disctinct query with memo field returned.
I know that for some circumstance that the query return only first 255
characters of the field.

I have one applicaiton running in 2 places. One place returns all memo
field, but the other only returns first 255 characters.

I beleive that for the one applicaiton does not work that I am missing
something there.


Your information is great appreciated,

 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      17th Nov 2010
On Wed, 17 Nov 2010 07:57:34 -0800 (PST), inungh <(E-Mail Removed)> wrote:

>I have a select disctinct query with memo field returned.
>I know that for some circumstance that the query return only first 255
>characters of the field.
>
>I have one applicaiton running in 2 places. One place returns all memo
>field, but the other only returns first 255 characters.
>
>I beleive that for the one applicaiton does not work that I am missing
>something there.
>
>
>Your information is great appreciated,


Be sure that you don't have a Format property specified on the memo field;
that you're not sorting or grouping by it; that it's not a field in a UNION
query (UNION ALL will work, UNION won't).
--

John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/For...-US/accessdev/
http://social.answers.microsoft.com/.../en-US/addbuz/
and see also http://www.utteraccess.com
 
Reply With Quote
 
inungh
Guest
Posts: n/a
 
      17th Nov 2010
Thanks for helping,
There is no format in the memo field and it is not an union query.
there is no sorting or grouping.

It is an identical application, but work on one place, but the other
one.
It seems that the MS Access option setting, but I check all the option
settings are identical as well.

Thanks again,

John W. Vinson wrote:
> On Wed, 17 Nov 2010 07:57:34 -0800 (PST), inungh <(E-Mail Removed)> wrote:
>
> >I have a select disctinct query with memo field returned.
> >I know that for some circumstance that the query return only first 255
> >characters of the field.
> >
> >I have one applicaiton running in 2 places. One place returns all memo
> >field, but the other only returns first 255 characters.
> >
> >I beleive that for the one applicaiton does not work that I am missing
> >something there.
> >
> >
> >Your information is great appreciated,

>
> Be sure that you don't have a Format property specified on the memo field;
> that you're not sorting or grouping by it; that it's not a field in a UNION
> query (UNION ALL will work, UNION won't).
> --
>
> John W. Vinson [MVP]
> Microsoft's replacements for these newsgroups:
> http://social.msdn.microsoft.com/For...-US/accessdev/
> http://social.answers.microsoft.com/.../en-US/addbuz/
> and see also http://www.utteraccess.com

 
Reply With Quote
 
John Spencer
Guest
Posts: n/a
 
      17th Nov 2010
As far as I know, the use of the DISTINCT keyword in the query will ALWAYS
truncate the memo field to 255 characters.

If the memo field is not being truncated, I would check the query and make
sure the query was using distinct and the query that you are looking at is the
query that is actually executing.


John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

On 11/17/2010 10:57 AM, inungh wrote:
> I have a select disctinct query with memo field returned.
> I know that for some circumstance that the query return only first 255
> characters of the field.
>
> I have one applicaiton running in 2 places. One place returns all memo
> field, but the other only returns first 255 characters.
>
> I beleive that for the one applicaiton does not work that I am missing
> something there.
>
>
> Your information is great appreciated,
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memo field is automatically changing to text field in count query robert Microsoft Access 3 3rd Dec 2008 09:27 PM
How can I convert text field to memo field in a query efandango Microsoft Access Queries 10 10th Oct 2008 02:06 AM
Preventing query from converting memo field to text field. =?Utf-8?B?RGVubmlzIEluIEZvcmtz?= Microsoft Access Database Table Design 1 22nd Dec 2004 04:08 AM
Query a memo field Jana Microsoft Access Queries 3 9th Jul 2004 04:36 PM
Query for a memo field giannis Microsoft Access Forms 4 23rd Aug 2003 07:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:54 AM.