Solved

Microsoft Access Export Limit

Posted on 2014-07-24
3
671 Views
Last Modified: 2014-07-24
It appears that MS Access 2002 limits the size of an exported table (to Excel) to 65,536 rows.

Is there a way to overcome this?

Thanks
Access-vers.jpg
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 40217394
It's not Access, but Excel.   That's the row limit in Excel in 2002.

Jim.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 40217803
If you use DoCmd.TransferSpreadsheet it will only output 64K rows, even if it is a newer version of Access, whose (same Office version) Excel is capable of handling 1M rows.

I recommend instantiating an ADO recordset object, instantiating an Excel automation object and then using the CopyFromRecordset method to transfer the data from Access to Excel.

There are other methods that I show in my article:
Fast Data Push to Excel:  http:A_2253.html
0
 
LVL 45

Expert Comment

by:aikimark
ID: 40217836
@rkorts

Your accepted solution may not be correct.  Although older versions of Excel have the 64K limit, if you need to expert Access2003 rows to an Excel 2007 worksheet, you can get around the Access limitation (not, in this scenario, an Excel limitation).
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question