D
Daniel Magnus Bennét Björck
Hi!
I have the strangest thing (Access 2000).
First I create a table with a Make Table query like this:
SELECT [Filtered: Accounts].* INTO [Imported: Accounts]
FROM [Filtered: Accounts];
That works fine. Only one of the columns is too large, 50 characters instead
of 3, which is the maximum length of the data given in that column. (Does
anyone know how Access works out the length of the columns in a Make Table
query? Some columns are correct, whereas others are either 50 or even 255
when the length of the data actually is just 1 or 3).
So I change the column to be only 3 characters long, delete all the records,
and then try to reinsert the data using:
INSERT INTO [Imported: Accounts]
SELECT [Filtered: Accounts].*
FROM [Filtered: Accounts];
But then I get the "Can't append all the records" message, saying that it is
due to validation rule violations. None of the records are imported. There
are no validations or indexes (since the table was originally created with a
Make Table query). If I change the length back to 50 as it was originally
when it worked, I still get the same message and no records imported!!
What incredibly silly and stupid thing am I missing?
Brgds
Danny
I have the strangest thing (Access 2000).
First I create a table with a Make Table query like this:
SELECT [Filtered: Accounts].* INTO [Imported: Accounts]
FROM [Filtered: Accounts];
That works fine. Only one of the columns is too large, 50 characters instead
of 3, which is the maximum length of the data given in that column. (Does
anyone know how Access works out the length of the columns in a Make Table
query? Some columns are correct, whereas others are either 50 or even 255
when the length of the data actually is just 1 or 3).
So I change the column to be only 3 characters long, delete all the records,
and then try to reinsert the data using:
INSERT INTO [Imported: Accounts]
SELECT [Filtered: Accounts].*
FROM [Filtered: Accounts];
But then I get the "Can't append all the records" message, saying that it is
due to validation rule violations. None of the records are imported. There
are no validations or indexes (since the table was originally created with a
Make Table query). If I change the length back to 50 as it was originally
when it worked, I still get the same message and no records imported!!
What incredibly silly and stupid thing am I missing?
Brgds
Danny