Solved

microsoft access and royalmail PAF file running very slow on search

Posted on 2009-05-13
1
299 Views
Last Modified: 2013-11-28
I have purchased the royalmail PAF file. It came on disc and is basicaly a text file (CSV)
From this i created a database and linked to the text file as a table. then i created 2 forms:
1st form is were you enter the postcode and then when you press the command button it uses a simple query i created to filter the linked table and then it displays the found address in the 2nd form.
It all work perfect except for a big problem "SPEED" as the CSV file has 1.7 million postcodes and 13 columns it takes a good 3 min to search the table.

What can i do to make it as quick as i see other peoples postcode programs work?
have i done this right in using a query to search the tables? or should i use VBA. my database is a basic access MDB type. I have also tried importing the data instead of linking but this doesnt make any difference.

I have thought about can you index a table, if so how? also maybe spliting the tabel into many tables but then how would i get the query to search many tables?
Any help would be great
0
Comment
Question by:andybrooke
1 Comment
 

Accepted Solution

by:
andybrooke earned 0 total points
Comment Utility
OK i must be having a totally thick day!!!! i found indexing and when i indexed it worked in milli seconds. sorry to waste your time!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

772 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