Solved

Can I Increase Number of Records Copied to Clipboard?

Posted on 2004-08-19
4
690 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Check a field in Access on a Timer 1 28
MS Access, hourly employee status 8 39
Runtime Error -2147467259 (80004005) 7 38
access query - field that substitutes characters 1 21
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

679 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