Solved

Can I Increase Number of Records Copied to Clipboard?

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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.
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…

627 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