Dmenke38
185 pts. | Sep 25 2009 6:33PM GMT
Are you updating the SQL Server tables, or just retrieving values from them?
If just mining them for values, you can do a pass-through query that does the selection on the server and returns (hopefully) a subset of data. That should speed things up. Access replicates the entire linked table locally when it is linked, and the local copy is not updatable. You would be better off retrieving a subset with the pass-through query and then using the query result set as a source for a combo box.
I improved one form’s opening time from 4 minutes down to 15 seconds by doing this with a UDB (DB2 on Unix) server. This tactic also reduced the network load significantly.
If you are updating the SQL Server tables, you need to do it directly with the appropriate action in a pass-through query, such as an Add, Delete, or Update in an event procedure. This does not cause replication, and the action takes place directly on the server. The price is learning the SQL Server syntax rules, as they vary slightly from Access 2003 syntax. You also have to hand code the query.
Jagoodie
55 pts. | Sep 28 2009 6:13PM GMT
I am indeed using this bound form to both edit and add data, as well as retrieve - unfortunately. Yes, the best route will be to move to passthrough queries, as I have done for several other forms. This form is especially large (many fields) and will take time to convert it. If the view had been update-able, it would have been a cake walk. And I love cake.






