Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2012-12-26
4
Medium Priority
?
589 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 52

Accepted Solution

by:
Gustav Brock earned 2000 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 52

Expert Comment

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

/gustav
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

877 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