Re: Connectivity
- From: "Neil" <nrgins@xxxxxxxxx>
- Date: Thu, 19 Feb 2009 07:15:46 -0600
"Nick 'The Database Guy'" <nickmcm@xxxxxxxxxxxxxx> wrote in message
news:5495113d-e56f-4fa7-aac6-581f77b491e8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 19, 6:11 am, "Neil" <nrg...@xxxxxxxxx> wrote:
"Nick 'The Database Guy'" <nick...@xxxxxxxxxxxxxx> wrote in
messagenews:59138309-dcc1-44d3-bc47-64c1105d39d6@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I know a great deal has been written about this but I can't seem to
find anything which solves my problem, which is that I cannot seem to
establish anything but a read only connection between Access 2003 and
SQL Server 2005. This does not include the transfertext command which
I can use to update the database, but it does include any way of
modifying the data, ie. DAO, ADODB, and using a delete query and an
update query. I think that it has something to do with the record
locks, as I keep getting error 3197 - another user is trying to update
the same data as you.
Thanks in advance.
Nick
It sounds to me that you're using linked tables, but you don't have a
primary key set up in your linked tables. If you have no primary key set
up
(or if you have the wrong primary key set up), then you won't be able to
delete the data, and it will be read-only. Go into your linked tables in
design view and see what the primary key is (if any) and check that it's
correct. That's where I'd put my money.
Neil
Thanks Neil, I was aware that you needed to have a prmary key, I added
an identity field, but then I got the problem where access tells me
that all the records have been deleted, but there is a field that I
believe that I could as the primary key which is not an autogenerated,
the only trouble is that the Server is now full, ie 0 bytes
available. I access it remotely and because the C:\ drive is full I
can so longer gain enough access to even go in and manually delete the
records to free up some space. The amount of space that I have been
given to work with is tiny, around 5Gb, and none of the network team
seem to be in today. So it may be a while before I can tell you
whether your solution solved my problem. This is just a note to say
that I appreciate your help and I will get back to you and tell you
what degree of success I have had in resolving it.
Nick
================
Well, even if you deleted the records, it won't change the database size
unless you shrink the database. Did you try shrinking the database in SQL
Server?
As for the primary key, doesn't matter if it's autogenerated or not. Just
whatever IS the primary key, make sure that that's the primary key in your
linked tables, as well. Then you'll be able to update and delete
Neil
.
- References:
- Connectivity
- From: Nick 'The Database Guy'
- Re: Connectivity
- From: Neil
- Re: Connectivity
- From: Nick 'The Database Guy'
- Connectivity
- Prev by Date: Re: recordset clone
- Next by Date: Re: recordset clone
- Previous by thread: Re: Connectivity
- Next by thread: Calculating an Average across Fields
- Index(es):
Relevant Pages
|
Loading