Discussion Locked

Access to SQL Perfomance hit

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have created an application is Access 2000 that when the user open the database it determine the current fiscal year and everything else in the database in based on that fiscal year.
The user can change fiscal years at anytime and all the information viewed is then based on that fiscal year

This is done by a function name FY(). This Function exist in all the majority of queries and forms. We are switching the data source to SQL Server 7.0 and would like to keep the same Access front-end. When we changed the data source we noticed an unacceptable performance hit. This was due to the fact that SQL runs this function for every individual record. Does anyone have any suggestion on how to overcome this problem?

3 replies

by gbworld

I hate to be the bearer of bad tidings, but this will most likely require some re-engineering. The manner in which Access and SQL Server work with data are completely different, as you have found out.

Having not seen the application, I can only work in general terms. You will either have to can the Access application, or rebuild the method in which it accesses the data. I would be more in favor of leaving the application in Access completely until you could build the new version. IF all of your programmers are Access VBA programmers, you might still use Access as the front end, but a more componentized solution (in VB or ASP/VB) would be more extensible, scalable and maintainable than an Access solution.

I know you hate to throw awayold code, but the world has moved far enough that it is very likely this is the best method. You should be able to mimic the look and feel of the current application in both a web and a VB desktop paradigm.

If you do not have the expertise, finding a good Internet consultant that you can trust would be money well spent.

Gregory A. Beamer
MCP: +I, SE, SD, DBA

This discussion is closed to new replies.