| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
VB Search Method
|
Original Message
|
Name: jane99
Date: October 9, 2004 at 09:07:47 Pacific
Subject: VB Search MethodOS: XPCPU/Ram: 500 |
Comment: Hi I’m trying to find out what the most efficient method of finding data in a table. My database reads two text files containing 15,000 records each. The first file is read and stored in the table using the Addnew command and is pretty quick, the second file is an update file and needs to match the existing records in the table. My existing code is “Select * from tablename where code = “ & secondfilecode
As this has to search through 15,000 records it is quite slow, is there a better way to do it? Thanks Jane
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: agehoops
Date: October 9, 2004 at 10:03:36 Pacific
|
Reply: (edit)I had a look on the net to see what i could find, and i found a basic search for a form using VB code, and i managed to get it working. There were some bits which i found confusing, and didn't understand 100%, but i got it working. If you take a look on this site, in the form section, you will find one for adding a simple search to your form. There is also loads of other useful code on the site to use. Its all free. The form search link is : http://www.microsoft-accesssolutions.co.uk/text_search.htm Hope that is any help. let me know
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home