Solved

LARGE QUERY MS ACCESS 2010

Posted on 2013-11-12
5
501 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
Comment Utility
Please post your append query.
0
 

Author Comment

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

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
Comment Utility
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
Comment Utility
databaseMX i needed that thanks
0
 
LVL 75

Expert Comment

by:DatabaseMX (Joe Anderson - Access MVP)
Comment Utility
:-)
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
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…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

12 Experts available now in Live!

Get 1:1 Help Now