Microsoft Access Error: The field is too small to accept the amount of data you attempted to add

ERROR: The field is too small to accept the amount of data you attempted to add.

I generally work with Microsoft SQL database. This time I got into a situation when I have to work with Microsoft Access. I did very little work with Access before, so I was concerned at the begining.  Later as I started working I found it's not that difficult, lot of syntax matches with MS SQL with some differences of course.

Anyways when I was working with a situation when I had to insert big text into the Access table I got the error "The field is too small to accept the amount of data you attempted to add. " After looking at the helps I found its max limit is 255 characters. You can change the max limit with Field Size property. In my case this field size would not work, since I have to insert big chunk of text. Then I found if you change the field type as Memo it can take upto 63,999 characters which works for me. One problem is Memo data types can not be indexed for performance. If you ever got into this error, you know the solution now.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: WebCosmo
Posted on: 1/10/2008 at 7:37 AM
Tags:
Categories: Programming / Coding
E-mail |  Stumble it! |  Propeller it! |  Digg it! |  del.icio.us |  Technorati
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Wednesday, December 03, 2008 2:35 PM