Solved

Access Linking To SQL Server 2008 Database Table Shows #Deleted In All Columns

Posted on 2012-12-26
4
566 Views
Last Modified: 2012-12-26
Greetings;

I am using Microsoft Access 2010 to link to a Microsoft SQL Server 2008 database. There are 2 tables in the database. Both have primary keys defined.

The first table contains 2 columns defined as varchar(2) and varchar(50). The first is the primary key.

The second table contains 19 columns. The primary key is defined as bigint and auto-increments. Most of the other columns are defined nvarchar(255). 2 of the columns are defined datetime. Some of the columns allow for nulls.

I have an ODBC data source to connect to the external SQL Server database.

When I create an empty Microsoft Access database and select the ODBC data source and tables - I can view and modify the first table, however, the 2nd table comes up with 84 rows of the word #Deleted in each column of each row. There are 84 rows in the second table on the Microsoft SQL Server 2008 database - this number is not a coincidence.

Why is this happening?


Much thanks ... David
0
Comment
Question by:David Bach
  • 2
4 Comments
 
LVL 11

Expert Comment

by:David Kroll
ID: 38722204
0
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 38722205
Access cannot read BigInt. Change this to Int.

/gustav
0
 

Author Closing Comment

by:David Bach
ID: 38722238
Greetings gustav;

Much obliged. I changed the data type and it works as expected.

David
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 38722287
Great. Happy New Year!

/gustav
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Select in Access 2003 3 27
Gracefully handling 'Record Locked'  Errors 33 36
Access 2016 - combo box 3 19
MS-Access not responding 5 25
In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question