Field Size

J

Jeff

I have a table with over 15,000 rows and would like to change the size of the
comments field to 255. However, when I try to save the table I get a message
saying that there is not enough disk space or memory. Is this because it is
too much to convert the size for all of the records? Are there any ways I
can get around this and increase the field size? Thanks in advance.
 
J

John W. Vinson

I have a table with over 15,000 rows and would like to change the size of the
comments field to 255. However, when I try to save the table I get a message
saying that there is not enough disk space or memory. Is this because it is
too much to convert the size for all of the records? Are there any ways I
can get around this and increase the field size? Thanks in advance.

In order to avoid Access keeping two copies of the entire table in memory...
create a new empty table by copying and pasting the current one into the
tables window, choosing the option "design view only". Change the size of the
field in the design window. (Hint: change it to Memo if the comments may
exceed 255 bytes, if you're willing to put up with the disadvantages of memo
fields - you can't sort or search them as easily).

Then run an Append query to migrate the data into the new table.

When all is tested and validated, delete the old table and rename the new one.
Compact your database when you're done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Memo field 2
Field Size Decreases 2
Text field size 1
field size 5
can't change data type in table definition 4
"Can't change data type" error - Access 2003 6
Field size change 10
Changing a Field Size 4

Top