PC Review


Reply
Thread Tools Rate Thread

#Deleted field values in a linked table

 
 
=?Utf-8?B?S2V2aW4gQg==?=
Guest
Posts: n/a
 
      22nd Feb 2006
I am connecting via ODBC to a number of tables in a database, located on an
SQL server. One of the tables that I’m linking to is a table that is updated
automatically via DTS with the update kicked off by a VB script.

On the Access side, if I view this table all I see are #Deleted flags in all
fields, even though there is data in the table if I view it from SQL
Enterprise Manager. All other ODBC linked tables display data correctly.

If done a refresh links in Access, removed and reestablished the link to the
table, and that has not rectified the problem. If I run a query, report, or
view the table through a form in Access all I get is #Deleted. However, if I
export this table from Access to Excel I get all of my records exported.

Anyone out there encounter this problem before, or is there something I’ve
overlooked?

Thanks ahead of time.

--
Kevin Backmann
 
Reply With Quote
 
 
 
 
Brendan Reynolds
Guest
Posts: n/a
 
      22nd Feb 2006
Using a bigint field as the primary key in SQL Server will do this, but
there are other possible causes too. Check out some of the articles in the
list at the following URL ...

http://search.msdn.microsoft.com/sea...ked+%23Deleted

--
Brendan Reynolds
Access MVP

"Kevin B" <(E-Mail Removed)> wrote in message
news:84B58A53-8C39-40B2-B8F3-(E-Mail Removed)...
>I am connecting via ODBC to a number of tables in a database, located on an
> SQL server. One of the tables that I'm linking to is a table that is
> updated
> automatically via DTS with the update kicked off by a VB script.
>
> On the Access side, if I view this table all I see are #Deleted flags in
> all
> fields, even though there is data in the table if I view it from SQL
> Enterprise Manager. All other ODBC linked tables display data correctly.
>
> If done a refresh links in Access, removed and reestablished the link to
> the
> table, and that has not rectified the problem. If I run a query, report,
> or
> view the table through a form in Access all I get is #Deleted. However,
> if I
> export this table from Access to Excel I get all of my records exported.
>
> Anyone out there encounter this problem before, or is there something I've
> overlooked?
>
> Thanks ahead of time.
>
> --
> Kevin Backmann



 
Reply With Quote
 
=?Utf-8?B?S2V2aW4gQg==?=
Guest
Posts: n/a
 
      22nd Feb 2006
Thanks for the reply. I guess I've got some reading to do, but that's what
lunch break is for, I suppose. I'll leave a reply in this thread as to what
the cause was, just in case you're interested.

Thanks again...
--
Kevin Backmann


"Brendan Reynolds" wrote:

> Using a bigint field as the primary key in SQL Server will do this, but
> there are other possible causes too. Check out some of the articles in the
> list at the following URL ...
>
> http://search.msdn.microsoft.com/sea...ked+%23Deleted
>
> --
> Brendan Reynolds
> Access MVP
>
> "Kevin B" <(E-Mail Removed)> wrote in message
> news:84B58A53-8C39-40B2-B8F3-(E-Mail Removed)...
> >I am connecting via ODBC to a number of tables in a database, located on an
> > SQL server. One of the tables that I'm linking to is a table that is
> > updated
> > automatically via DTS with the update kicked off by a VB script.
> >
> > On the Access side, if I view this table all I see are #Deleted flags in
> > all
> > fields, even though there is data in the table if I view it from SQL
> > Enterprise Manager. All other ODBC linked tables display data correctly.
> >
> > If done a refresh links in Access, removed and reestablished the link to
> > the
> > table, and that has not rectified the problem. If I run a query, report,
> > or
> > view the table through a form in Access all I get is #Deleted. However,
> > if I
> > export this table from Access to Excel I get all of my records exported.
> >
> > Anyone out there encounter this problem before, or is there something I've
> > overlooked?
> >
> > Thanks ahead of time.
> >
> > --
> > Kevin Backmann

>
>
>

 
Reply With Quote
 
=?Utf-8?B?S2V2aW4gQg==?=
Guest
Posts: n/a
 
      22nd Feb 2006
The culprit was a BigInt field type that is used in a clustered index.
Thanks again Brendan...
--
Kevin Backmann


"Kevin B" wrote:

> I am connecting via ODBC to a number of tables in a database, located on an
> SQL server. One of the tables that I’m linking to is a table that is updated
> automatically via DTS with the update kicked off by a VB script.
>
> On the Access side, if I view this table all I see are #Deleted flags in all
> fields, even though there is data in the table if I view it from SQL
> Enterprise Manager. All other ODBC linked tables display data correctly.
>
> If done a refresh links in Access, removed and reestablished the link to the
> table, and that has not rectified the problem. If I run a query, report, or
> view the table through a form in Access all I get is #Deleted. However, if I
> export this table from Access to Excel I get all of my records exported.
>
> Anyone out there encounter this problem before, or is there something I’ve
> overlooked?
>
> Thanks ahead of time.
>
> --
> Kevin Backmann

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with a deleted field that is linked to a form forest8 Microsoft Access Getting Started 2 28th Mar 2010 05:36 AM
#deleted returned in every field from linked table Big Ern Microsoft Access 3 20th Oct 2008 08:17 PM
#Deleted is being displayed in a linked table =?Utf-8?B?Smlt?= Microsoft Access External Data 0 22nd Oct 2007 06:49 PM
How do I programmatically delete a link to a table in a linked file where the table has been deleted? Jon A Microsoft Access Form Coding 2 14th Apr 2005 01:08 AM
#deleted in query from linked SQL Table RTL Microsoft Access 0 1st Sep 2004 03:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:14 AM.