A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

File sharing lock and append paste



 
 
Thread Tools Display Modes
  #1  
Old May 30th, 2008, 10:37 PM posted to microsoft.public.access
Jey
external usenet poster
 
Posts: 27
Default File sharing lock and append paste

Hi, thanks in advance if someone can shed some light on this for me...

I'm simply trying to copy records from Excel to Access. Just to make sure I
have everything formatted right in the Excel sheet, I made a 'structure only'
copy of the table I want to copy to, and tried to paste the records there. I
have an auto-number primary key, two required fields, and a bunch of other
fields. I'm copying the data from Excel, selecting all the fields except the
autonumber, then trying to paste.

Using 'ctrl-c' and 'ctrl-v'...the first batch went fine (just over 14,000
records), but the second batch (about the same number of records) triggered
the 'file sharing lock count exceeded' error. Just to be sure I deleted the
copy, and did it all from scratch again. I even closed the database (with
'compact on close') after the first paste, and closed the Excel table to
clear out the clipboard.

I've read http://support.microsoft.com/?id=815281, But I'm not in a
multi-user database, and the first 14,000 record batch went fine, so why a
problem with the second batch?

And... using paste-append didn't work at all... it tells me that something
is in the wrong format or exceeds the field size. But copying using the
'ctrl-c' and 'ctrl-v' works fine, so I know that all the data is formatted
correctly. I get the impression that something is going on either with the
auto-number (primary key), or one of the required fields.

I'm using Access 2007. I don't remember having this sort of problem copying
large batches of records in Access2003! (Or maybe I did, and I've just
supressed the memory?)

Thanks,
Jey


  #2  
Old May 30th, 2008, 10:46 PM posted to microsoft.public.access
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default File sharing lock and append paste

Jey

Access provides a mechanism for importing data to new or existing tables.

If you're using A'07, take a look on the External Data tab of the Ribbon.


Regards

Jeff Boyce
Microsoft Office/Access MVP

"Jey" wrote in message
...
Hi, thanks in advance if someone can shed some light on this for me...

I'm simply trying to copy records from Excel to Access. Just to make sure
I
have everything formatted right in the Excel sheet, I made a 'structure
only'
copy of the table I want to copy to, and tried to paste the records there.
I
have an auto-number primary key, two required fields, and a bunch of other
fields. I'm copying the data from Excel, selecting all the fields except
the
autonumber, then trying to paste.

Using 'ctrl-c' and 'ctrl-v'...the first batch went fine (just over 14,000
records), but the second batch (about the same number of records)
triggered
the 'file sharing lock count exceeded' error. Just to be sure I deleted
the
copy, and did it all from scratch again. I even closed the database (with
'compact on close') after the first paste, and closed the Excel table to
clear out the clipboard.

I've read http://support.microsoft.com/?id=815281, But I'm not in a
multi-user database, and the first 14,000 record batch went fine, so why a
problem with the second batch?

And... using paste-append didn't work at all... it tells me that something
is in the wrong format or exceeds the field size. But copying using the
'ctrl-c' and 'ctrl-v' works fine, so I know that all the data is formatted
correctly. I get the impression that something is going on either with the
auto-number (primary key), or one of the required fields.

I'm using Access 2007. I don't remember having this sort of problem
copying
large batches of records in Access2003! (Or maybe I did, and I've just
supressed the memory?)

Thanks,
Jey




  #3  
Old May 31st, 2008, 05:36 PM posted to microsoft.public.access
Jey
external usenet poster
 
Posts: 27
Default File sharing lock and append paste


Oh, duh. Yep, that does it!

Thanks,
Jey


"Jeff Boyce" wrote:

Jey

Access provides a mechanism for importing data to new or existing tables.

If you're using A'07, take a look on the External Data tab of the Ribbon.


Regards

Jeff Boyce
Microsoft Office/Access MVP

"Jey" wrote in message
...
Hi, thanks in advance if someone can shed some light on this for me...

I'm simply trying to copy records from Excel to Access. Just to make sure
I
have everything formatted right in the Excel sheet, I made a 'structure
only'
copy of the table I want to copy to, and tried to paste the records there.
I
have an auto-number primary key, two required fields, and a bunch of other
fields. I'm copying the data from Excel, selecting all the fields except
the
autonumber, then trying to paste.

Using 'ctrl-c' and 'ctrl-v'...the first batch went fine (just over 14,000
records), but the second batch (about the same number of records)
triggered
the 'file sharing lock count exceeded' error. Just to be sure I deleted
the
copy, and did it all from scratch again. I even closed the database (with
'compact on close') after the first paste, and closed the Excel table to
clear out the clipboard.

I've read http://support.microsoft.com/?id=815281, But I'm not in a
multi-user database, and the first 14,000 record batch went fine, so why a
problem with the second batch?

And... using paste-append didn't work at all... it tells me that something
is in the wrong format or exceeds the field size. But copying using the
'ctrl-c' and 'ctrl-v' works fine, so I know that all the data is formatted
correctly. I get the impression that something is going on either with the
auto-number (primary key), or one of the required fields.

I'm using Access 2007. I don't remember having this sort of problem
copying
large batches of records in Access2003! (Or maybe I did, and I've just
supressed the memory?)

Thanks,
Jey





  #4  
Old June 4th, 2008, 02:42 PM posted to microsoft.public.access
elisa le hen
external usenet poster
 
Posts: 1
Default fil de pute

je ne comprent rient je suis francaise et fouter moi la paix merde
"Jey" a écrit dans le message de
...
Hi, thanks in advance if someone can shed some light on this for me...

I'm simply trying to copy records from Excel to Access. Just to make sure
I
have everything formatted right in the Excel sheet, I made a 'structure
only'
copy of the table I want to copy to, and tried to paste the records there.
I
have an auto-number primary key, two required fields, and a bunch of other
fields. I'm copying the data from Excel, selecting all the fields except
the
autonumber, then trying to paste.

Using 'ctrl-c' and 'ctrl-v'...the first batch went fine (just over 14,000
records), but the second batch (about the same number of records)
triggered
the 'file sharing lock count exceeded' error. Just to be sure I deleted
the
copy, and did it all from scratch again. I even closed the database (with
'compact on close') after the first paste, and closed the Excel table to
clear out the clipboard.

I've read http://support.microsoft.com/?id=815281, But I'm not in a
multi-user database, and the first 14,000 record batch went fine, so why a
problem with the second batch?

And... using paste-append didn't work at all... it tells me that something
is in the wrong format or exceeds the field size. But copying using the
'ctrl-c' and 'ctrl-v' works fine, so I know that all the data is formatted
correctly. I get the impression that something is going on either with the
auto-number (primary key), or one of the required fields.

I'm using Access 2007. I don't remember having this sort of problem
copying
large batches of records in Access2003! (Or maybe I did, and I've just
supressed the memory?)

Thanks,
Jey



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.