Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Text Field length. (Out of Memory Error)

Status
Not open for further replies.

Phi1Smith

Programmer
Jun 5, 2001
33
GB
I have a text field in a table with 250000 records that is currently set to 25 characters long. I would like to change this to 35 characters long, but as access attempts to change the data it returns an error "Not Enough Memory or Disk Space". I had 85Mb of ram empty at the time of the error & disc space can't be the problem far to much to spare. Is there a way round this anyone know?

Many Thanks

Phil Smith
 
I'm not an expert, so maybe I shouldn't be answering this, but I believe the problem is the size of the Access database (1 gig or 2 gig for Access2000). The database may need to be compacted. I think I ran into this once myself (or I wouldn't be answering at all) and what I did was create a blank Access database, copy the table to the blank database, make the change, delete the original table in the original database, compact that database, then copy the table back.

Ken
 
Many Thanks KHerm, I did the changes in a blank database with just the 1 table in with no errors at all.

Thanks Again

Phil Smith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top