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
Solved

LARGE QUERY MS ACCESS 2010

Posted on 2013-11-12
5
530 Views
Last Modified: 2013-11-13
I have a query that has over 15000 records that needs to be inserted in to another table i am using an append query to do this everything worked fine in ms access 2003,query hangs in 2010 any suggestions.
0
Comment
Question by:Svgmassive
  • 2
  • 2
5 Comments
 
LVL 26

Expert Comment

by:jerryb30
ID: 39643475
Please post your append query.
0
 

Author Comment

by:Svgmassive
ID: 39643576
i found the solution i had to increase the maxbuffer size in the registry.thanks
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 500 total points
ID: 39643594
No need to mess with the Registry.

You can easily do this in code - on a 'per session' basis.

'set max locks
DAO.DBEngine.SetOption dbMaxBufferSize, 1024' or higher if necessary

'execute the append query
CurrentDb .Execute "YourAppendQueryNameHere", dbFailOnError

Not even sure why you would need to do this with only 15K records ...
0
 

Author Comment

by:Svgmassive
ID: 39646634
databaseMX i needed that thanks
0
 
LVL 75
ID: 39646645
:-)
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

839 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