473,385 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Slow Searches in Access

Hi,

We use Access 2000 forms to edit tables linked from an Oracle 8i
database. When searching for records, unless we uncheck the option
"Search Fields As Formatted" the searches are impossibly slow. The
fields being searched are indexed under Oracle.

a) Is there some way we can make this option unchecked by default?

b) Is there another method of speeding up the searching function?

Any tips greatly appreciated.

Thanks

Nov 13 '05 #1
1 1244
I would build a search form with a prompt box.

I would then open he form to the one record you need. This means if you have
1 million records, or 5 records, and you search for a invoice number, the
response will be instant.

You can use the after update event of a text box, and fill a sub-form with
data for the user to select, and this also works very well.

So, lets assume,that you want to search by last name, in the after update,
we can go:
dim strSql as string

strSql = "select * from tblCustomer where LastName like '" & me!txtLastSerch
& "*'"

me.MySubForm.Form.RecorSource = strSql

The above will thus stuff the sub-form with a nice hit list. it is then
simple matter to place a button in the continues form to launch the main
form to the ONE RECORD.

I have a good explain, and some screen shots of the above idea in action
here:

http://www.attcanada.net/~kallal.msn/Search/index.html

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
http://www.attcanada.net/~kallal.msn
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: mamo74 | last post by:
Hello. I am administering a SQL Server (Enterprise Edition on Windows 2003) from some month and can't understand what is going on in the latest week (when the db grow a lot). The DB is around...
6
by: pragile | last post by:
I have a stored procedure that has some problems with slow performance. The procedure has 2 parameters @firstname varchar(100) @lastname varchar(100) These parameters can have values like a%,...
8
by: Neil | last post by:
I have a very puzzling situation with a database. It's an Access 2000 mdb with a SQL 7 back end, with forms bound using ODBC linked tables. At our remote location (accessed via a T1 line) the time...
83
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd...
2
by: Gary Wright | last post by:
I have a split db with the back end on a server and the front end on several client machines. There is supposedly a 100MB ethernet between the two that is generally quite lightly loaded. The...
1
by: Andrew | last post by:
Hi All: I am using Access2000 and I find that the command to open an Access report in preview mode is very slow: DoCmd.OpenReport rptABC, acViewPreview, "", "" The scenario is this: - The...
6
by: Geoff Jones | last post by:
Hi I am loading a DataSet using a DataAdaptor e.g. myDataAdaptor = New OleDb.OleDbDataAdaptor("Select * From ", myConnection) myDataAdaptor.Fill(myDataSet, "MyTable") The table is very...
4
by: Claudio Calboni | last post by:
Hello folks, I'm having some performance issues with the client-side part of my application. Basically, it renders a huge HTML table (about 20'000 cells in my testing scenario), without content....
20
tdw
by: tdw | last post by:
Hi all, I have an "Address" field that, upon an After Update event, searches the database to see if the address I just entered already exists in the database. This search used to only take a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.