Solved

Can I Increase Number of Records Copied to Clipboard?

Posted on 2004-08-19
4
684 Views
Last Modified: 2008-03-10
Access is telling me that it cannot copy more than 65,000 records onto the clipboard at any one time.  I am trying to export a query into a .txt file that will have approximately 1.3 million records but only 3 fields.

Is there any way to increase the number of records that it can copy to the clipboard or is the only solution to break this into 20 different exports (1.3 mill / 65,000 = 20)

Tom
0
Comment
Question by:tawalsh3
4 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 63 total points
ID: 11846229
why copy to clipboard (and not there's no way around the error afaik)

think this will work for you directly...just modify the sql

Dim qdf As DAO.QueryDef
Set qdf = New DAO.QueryDef
qdf.Name = "MyExport"
       qdf.SQL = "SELECT * FROM myTable where Some = Something
       qdf.Close
       DoCmd.TransferText acExportDelim, , qdf.Name, outFile


0
 
LVL 39

Assisted Solution

by:stevbe
stevbe earned 62 total points
ID: 11846453
you can export any query or table directly (File --> Export). You can use code to create a query as Sid showed (you will need the Microsoft DAO 3.6x Library to do this).

Steve
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now