View Single Post
  #2  
Old March 25th, 2010, 08:20 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Linked Tables - indexes

On Thu, 25 Mar 2010 19:46:32 GMT, "osupratt via AccessMonster.com"
u41837@uwe wrote:

I have most of my tables in my front-end Access 'linked' to a sql server back-
end. I have some reports that take a couple of minutes to run (sql reports,
not access). When running a query plan or optimizer it tells me of some
indexes to add on the back-end sql tables. When adding these indexes the
reports now run very fast or instantaneous. The problem I have now is that I
get errors on my front-end saying Timeout occurred. Has anyone had any
experience with this and why would my front-end act like this all of a sudden?
Thanks.


If you're using ODBC to link to the tables, Access has stashed some
information about the backend table in the frontend, and by changing the
structure of the backend (by adding an index), the information is out of date.
I've gotten in the habit of routinely *deleting* the link from the frontend
and using File... Get External Data... Link... ODBC to relink to the table
after any structural change to the table.
--

John W. Vinson [MVP]