PC Review


Reply
Thread Tools Rate Thread

DB2 Linked tables: Delete & Update rights

 
 
Miela
Guest
Posts: n/a
 
      14th Aug 2009
Hi,

Please can somebody help me. I have a few DB2 Linked tables in a MS Access
database. I have full rights (delete, insert, select, update) to these DB2
tables in the back-end, but I am unable to delete any records when I open
these tables in access. I am also unable to update data using Update queries
in Access.

Many thanks in advance
 
Reply With Quote
 
 
 
 
Miela
Guest
Posts: n/a
 
      17th Aug 2009
Thanks for the reply. No by DB2 I mean IBM DB2 tables linked to access as
ODBC tables. I use access as a UI and want to update records in the DB2
Backend tables.


"June7 via AccessMonster.com" wrote:

> By DB2 do you mean dBase II program? Are these tables still being used by a
> dBase application? If not, why not convert to Access (simple import operation)
> ? If still used by a dBase application, could there be some locks in place by
> that app?
>
> Miela wrote:
> >Hi,
> >
> >Please can somebody help me. I have a few DB2 Linked tables in a MS Access
> >database. I have full rights (delete, insert, select, update) to these DB2
> >tables in the back-end, but I am unable to delete any records when I open
> >these tables in access. I am also unable to update data using Update queries
> >in Access.
> >
> >Many thanks in advance

>
> --
> Message posted via http://www.accessmonster.com
>
>

 
Reply With Quote
 
Rick Brandt
Guest
Posts: n/a
 
      17th Aug 2009
On Fri, 14 Aug 2009 06:18:10 -0700, Miela wrote:

> Hi,
>
> Please can somebody help me. I have a few DB2 Linked tables in a MS
> Access database. I have full rights (delete, insert, select, update) to
> these DB2 tables in the back-end, but I am unable to delete any records
> when I open these tables in access. I am also unable to update data
> using Update queries in Access.
>
> Many thanks in advance


Do the tables have primary keys or at least one unique index defined on
the server? Links to server tables with neither of those are read-only
unless you define which fields can be used to build a local unique index
within your Access file.


--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
 
Reply With Quote
 
Miela
Guest
Posts: n/a
 
      17th Aug 2009
That is exactly the problem. The records were not unique. I forgot to add a
second field to make them unique.

Many thanks for your help.

"Rick Brandt" wrote:

> On Fri, 14 Aug 2009 06:18:10 -0700, Miela wrote:
>
> > Hi,
> >
> > Please can somebody help me. I have a few DB2 Linked tables in a MS
> > Access database. I have full rights (delete, insert, select, update) to
> > these DB2 tables in the back-end, but I am unable to delete any records
> > when I open these tables in access. I am also unable to update data
> > using Update queries in Access.
> >
> > Many thanks in advance

>
> Do the tables have primary keys or at least one unique index defined on
> the server? Links to server tables with neither of those are read-only
> unless you define which fields can be used to build a local unique index
> within your Access file.
>
>
> --
> Rick Brandt, Microsoft Access MVP
> Email (as appropriate) to...
> RBrandt at Hunter dot com
>

 
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
Access Linked Tables Rights issue =?Utf-8?B?U3RlcGhhbiBGaXg=?= Microsoft Access External Data 3 1st May 2005 08:20 PM
Cascade Delete / Linked Tables DS Microsoft Access Getting Started 2 24th Feb 2005 05:19 PM
Can,t delete linked tables NevilleT Microsoft Access 2 23rd Mar 2004 11:03 AM
auto update linked fields in linked tables =?Utf-8?B?Smhvd2c4?= Microsoft Access Database Table Design 1 7th Nov 2003 06:08 PM
using linked table manager to update path on linked tables Nydia Microsoft Access 4 19th Aug 2003 11:33 PM


Features
 

Advertising
 

Newsgroups
 


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