Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / December 2005

Tip: Looking for answers? Try searching our database.

sql not returning full string from memo field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tyrone Smith - 02 Dec 2005 01:18 GMT
I have an sql statment that returns a memo field as part of the result,
proble is it isn't returning the full string in the memo field?

And yet i have other sql that does similar and it returns the entire memo
string.

What am i doing wrong?
Allen Browne - 02 Dec 2005 02:07 GMT
If JET has to perform any aggregation on the memo field, it will truncate at
255 characters.

If you are using a Totals query, using GroupBy in the Total row performs
aggregation. Change it to First, and JET is free to return the whole field
for the first match it finds.

If it is not a Totals query, make sure the SQL Statement does not contain
DISTINCT, which also forces comparision/aggregation.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>I have an sql statment that returns a memo field as part of the result,
>proble is it isn't returning the full string in the memo field?
[quoted text clipped - 3 lines]
>
> What am i doing wrong?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.