title: Access Continuous Form with Linked Table - How to Avoid Hitting Database Server for Every Row in Form?
body: <p>I'm migrating the data from an Access database to SQL Server via the SQL Server Migration Assistant (SSMA).  The Access application will continue to be used with the local tables converted to linked tables.</p>
  
  <p>One continuous form hangs for 15 - 30 seconds when it's loading.  It displays approximately 2000 records.  When I looked in SQL Server Profiler to see what it was doing, it was making a separate call to the backend database for each record in the form.  So the delay when the form opens is caused by the 2000-odd separate calls to the database.</p>
  
  <p>This is amazingly inefficient.  Is there any way to get Access to make a single call to the backend database and retrieve all the records at once?</p>
  
  <p>I don't know if this is relevant but the Record Source for the form is a view in the SQL Server backend database, which is linked to via an Access linked table (so, hopefully, Access just sees it as a table, not a view).  I needed an Instead Of trigger on the view in SQL Server, and a unique index on the linked table in Access, to allow the records to be updated via the form.</p>