Results 1 to 3 of 3
  1. #1
    RayMilhon is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071

    Query Type changes by itself

    I have 14 Linked tables to SQL Server the Queries work perfectly. The issue is when I close the Database the next time I open it the Select Queries are now Pass-Through Queries. Why does Access automatically change the query type? The problem is the queries are designed to be run automatically and as Pass-Thru queries they fail everytime.

  2. #2
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,474
    They should not fail, pass thru runs the query on the SQL side so is much quicker then Access queries most times. So you can run them manually and they run ok, but when you run them all in code or macro they fail? Do they give an error message when they fail?

  3. #3
    RayMilhon is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    Nope but I was able to work around it. Have a local SQL Server that we use here. Linked to the Production Server at Corporate from there and created 2 Views from the Queries I ran in Access and I can now automate the reports to send out.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 0
    Last Post: 09-05-2017, 10:35 AM
  2. Replies: 4
    Last Post: 02-03-2017, 12:12 PM
  3. Replies: 14
    Last Post: 05-08-2014, 12:51 PM
  4. Replies: 3
    Last Post: 05-31-2013, 04:32 PM
  5. Replies: 2
    Last Post: 03-18-2010, 08:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums