dbTalk Databases Forums  

Access truncates SQL varchar(max)

comp.databases.ms-access comp.databases.ms-access


Discuss Access truncates SQL varchar(max) in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Darrell Burns
 
Posts: n/a

Default Access truncates SQL varchar(max) - 07-30-2010 , 08:55 PM






Hello. I have a SQLServer table with a varchar(max) column which I link to in Access. In design view, Access shows the column as having a Text data type with a field size of 255. Access displays the last 255 characters, and truncates data that's inserted into the field.

How can I get Access to see it as a memo field?

Reply With Quote
  #2  
Old   
Rick Brandt
 
Posts: n/a

Default Re: Access truncates SQL varchar(max) - 07-31-2010 , 04:20 AM






Darrell Burns wrote:

Quote:
Hello. I have a SQLServer table with a varchar(max) column which I link to
in Access. In design view, Access shows the column as having a Text data
type with a field size of 255. Access displays the last 255 characters,
and truncates data that's inserted into the field.

How can I get Access to see it as a memo field?
That is not normal behavior. Every time I have linked to a table with a
VarChar larger than 255 Access has treated it as a memo.

The "usual" problem is having a VarChar larger than 255, but less than Max
which then Access wants to allow unlimited text and the server throws errors
when you input too many characters.

Are you using the latest driver? Have you tried deleting and re-creating
the link? Which version of Access and SQL Server?

Note that there are several scenarios where Access truncates even native
Access memo fields to 255, but that is in forms, reports, or queries.
Having this happen in a table link is not something I have heard of before.

Reply With Quote
  #3  
Old   
a a r o n . k e m p f @gmail.com [MCITP: DBA]
 
Posts: n/a

Default Re: Access truncates SQL varchar(max) - 08-17-2010 , 02:23 AM



stop using Jet and start using 'Access Data Projects'




On Jul 30, 6:55*pm, Darrell Burns <u... (AT) compgroups (DOT) net/> wrote:
Quote:
Hello. I have a SQLServer table with a varchar(max) column which I link to in Access. In design view, Access shows the column as having a Text data type with a field size of 255. Access displays the last 255 characters, andtruncates data that's inserted into the field.

How can I get Access to see it as a memo field?

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.