Results 1 to 2 of 2
  1. #1
    osupratt is offline Advanced Beginner
    Windows 98/ME Access 2007
    Join Date
    May 2011
    Posts
    39

    Query from back-end View not returning all records


    i have a sql server back-end and a ms access 2007 front-end. i have a View on this back-end that has sales order data in it. when running a query and putting a certain sales order number in the where clause (say sales order 12345) it returns 183 records.

    i have linked this View to my front-end. i have built a query in Access that is the same as the query that i ran on the back-end. it only pulls 22 records.

    i know this View when run is cumbersome and takes a while to run. on the back-end in sql server management studio i have no timeout or any issues when opening the View. when double clicking on the linked View on my front-end i get the odbc timeout error. so the front-end query i have the timeout property set to 0 (so it won't timeout).

    just curious why all records don't get pulled? has anyone had an issue like this before. i mean every other linked table or view operates just fine and the queries match record totals from what i pull on the back-end to what is pulled on the front-end. any help would be appreciated. thanks.

  2. #2
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    Try setting (in the query properties) the recordset type from Dynaset to Snapshot This may help.

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

Similar Threads

  1. Query - Returning ID instead of Value...??
    By Poolio in forum Queries
    Replies: 5
    Last Post: 04-18-2011, 07:10 AM
  2. Replies: 12
    Last Post: 10-15-2010, 10:03 AM
  3. Returning multiple records Isn't what I need
    By frobro390 in forum Queries
    Replies: 6
    Last Post: 09-21-2010, 06:24 PM
  4. Combo box returning only about 1000 records
    By cjbuechler in forum Forms
    Replies: 12
    Last Post: 06-30-2010, 08:27 AM
  5. Replies: 0
    Last Post: 08-04-2009, 09:14 AM

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