Web Development
11 replies
by holddedoor
by bpulliam
I have had similiar issues with large tables and long query strings in MS Access too.
The best way that I have found to deal with the issue is to manage the table scale as best I can.
Does your user really need to sift through as many recordsas they are?
Can you break the source tables into more managable peices?
By breaking the tables up your also shortening your query parameters a notch or two too..
Often I will park older data in a different table and write something that will allow the user to query that separatley (sp?) if necessary. You can limit table size by region etc.... The key for me has been to try to keep the scale managable.
Another option is to put in a SQL server back-end. Using pass-throughs you can execute on the SQL server and then have it return what you need. Really helps with the big ugly SQL strings.
Good luck.
by donq
Answer 2's suggestion to use SQL-Server as the back end would be the obvious fix however you might try creating a uniquely named query on the server that produces your desired recordset right there. You did say you had Access 97 on both machines? Then have the client request the query by name providing the full data path as part of the expression, or request.
If Access is NOT installed on the server your best option is to upsize to SQL-Server.
by bpulliam
Ok you didn't like the previous answer....
Try this....
How about checking to see if you have any indexes on your source tables.
The indexes will speed up the searches, but may slow the queries. You may want to experiment with that to see if your performance improves
by heepeq
Check indexing of tables in question as suggested previous answer.
If slow network access is the key issue, try replication of network database to the local machine:
Tools | Replication | Create Replica.
Remap connection to local replica.
Remember to
Tools | Replication | Synchronize Replica
before running query.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending