A
Andrew
Hi,
There has been a recent upgrade from Access 97 to 2000 and
as a result I have had to convert a database set up in
Access 97 to Access 2000. As the database contained quite
a few objects and a fair amount of VBA code I could not
convert it using the "convert" option in 2000. I got
around the problem by creating a blank database in Access
2000 and importing all the tables, forms, queries etc and
editing any incompatable VBA code where necessary.
My problem is that I cannot successfully import the main
table from the original although if I create a dynamic
link to the "old" table everything works fine.
When I try to import it I get an error message saying
another user is trying to access the data. I know for a
fact that this is not the case and I cannot think why it
doesn't work as all the other tables have imported. I have
removed any relationships from the table but other tables
with relationships imported OK anyway.
I also tried to copy the data into a copy of the table
using copy and paste but there is a problem as the table
has an autonumber primary key. When the data is copied the
new table assigns a new number to the record's primary key
field. If I change the field to "number" I can paste in
the data and keep the original "ID" values for the records
but i cannot then turn the auto number back on the begin
numbering from the last id number e.g. 1500.
If anybody can suggest a way to deal with this problem I
would be very grateful.
Thanks in advance.
Andrew
There has been a recent upgrade from Access 97 to 2000 and
as a result I have had to convert a database set up in
Access 97 to Access 2000. As the database contained quite
a few objects and a fair amount of VBA code I could not
convert it using the "convert" option in 2000. I got
around the problem by creating a blank database in Access
2000 and importing all the tables, forms, queries etc and
editing any incompatable VBA code where necessary.
My problem is that I cannot successfully import the main
table from the original although if I create a dynamic
link to the "old" table everything works fine.
When I try to import it I get an error message saying
another user is trying to access the data. I know for a
fact that this is not the case and I cannot think why it
doesn't work as all the other tables have imported. I have
removed any relationships from the table but other tables
with relationships imported OK anyway.
I also tried to copy the data into a copy of the table
using copy and paste but there is a problem as the table
has an autonumber primary key. When the data is copied the
new table assigns a new number to the record's primary key
field. If I change the field to "number" I can paste in
the data and keep the original "ID" values for the records
but i cannot then turn the auto number back on the begin
numbering from the last id number e.g. 1500.
If anybody can suggest a way to deal with this problem I
would be very grateful.
Thanks in advance.
Andrew