Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6535907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:25:43+00:00 2026-05-25T10:25:43+00:00

I created a view on SQL Server 2000 and linked the view to my

  • 0

I created a view on SQL Server 2000 and linked the view to my Access 2007 database via ODBC. Opening the view from Access showed what looked like a duplicate value. I updated my view to include the ids of the data in question and it was duplicated.

It looks like access is displaying the first record for each type for every row of that type. This question mentioned looking at the Order By or Top clauses, but I’m not using either of them in my view. The view links 8 tables together and the only thing I can think of is some of the tables I have in my view, I don’t have linked in Access. I am going to link those tables also just to try it, but I didn’t think I needed them in Access.

I’ve tired searching Google for answers, but I haven’t had much luck besides the question I mentioned. Is this behavior normal for linked views like this?

This is my result set from sql manager:

id    Type          Dim1
----  ------------  ------
3111  Pipe          480   
3112  Fittings      0
3113  Pipe          1080
3114  Fittings      0
3115  Fittings      0
3116  Fittings      0
3117  Pipe          216

And in access I see this:

id    Type          Dim1 
----  ------------  ------
3111  Pipe          480
3112  Fittings      0
3111  Pipe          480
3112  Fittings      0
3112  Fittings      0
3112  Fittings      0
3111  Pipe          480
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:25:43+00:00Added an answer on May 25, 2026 at 10:25 am

    You don’t need all the 8 tables linked in Access…the view is enough, Access doesn’t need to know about the underlying tables.

    I think you have a different problem, I experienced similar issues like yours as well.
    When I link a SQL Server view in Access via ODBC, a window pops up that wants me to select a unique identifier (read: primary key) from the columns in the view:

    "select unique identifier" window

    If I don’t select anything (or some wrong columns, which do not identify a unique record), Access screws up the displayed data like in your example.
    Apparently Access is not able to display the view correctly without a unique identifier.

    Solution for your problem:
    As I understand your view, the id is unique, right?
    If yes, just delete the view, re-link it via ODBC, and when the “select unique identifier” window pops up, you need to select the id column.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a legacy SQL Server 2000 database that has one column that has
I display data from a (sql)view with information from several tables which I created
When I create a view in SQL Server 2005 and someone later opens it
How do I create a view dynamically in SQL Server using C#?
We have created a new List View Style that shows thumbnails from a picture
I am using SQL Server 2000 and feeling stuck about how to do this:
I am trying to get running totals in my View in SQL Server 2008
In SQL Server Management Studio, when I View History for a SQL Job, I'm
I am working on creation of temporary tables in sql server. I created the
I'm trying to create a master detail view of a linq to sql relationship

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.