-----Original Message-----
Rachel,
By the sound of it, then, it's importing the records that "fit" and
silently ignoring the others.
I've just tried importing data that's been edited in Excel and I got the
expectd error messages about field types and key violations. But if
before importing I do
DoCmd.SetWarnings False
the good records are imported and the bad ones ignored.
So the first thing to do is to check that you haven't turned off
SetWarnings elsewhere and failed to ensure that it's turned back on
again. (Better practice is to leave it turned on and program your way
round any errors.)
John,
New records are appended to the table, so that part is
working. However, if I then modify a record in Excel and
then try to import it into Access (i.e., I'm trying to
import a record with a duplicate primary key), NOTHING
happens. The modified record does not show up in the
Access table AND I don't get any error messages about
trying to add a record with a duplicate primary key.
Rachel
-----Original Message-----
Hi Rachel,
You say what isn't happening, but you don't say what *is*
happening. Is
all or any of the data being imported?
On Thu, 4 Sep 2003 12:02:36 -0700, "rachel"
Hi,
I will be doing weekly imports of an Excel 97
spreadsheet
into Access 97. I've been testing the Access 97 import
utility, and I'm finding that it isn't working as it is
supposed to. I'm not getting ANY error reports, even
though I've put values in my spreadsheet that should
cause
the "Field Truncation," "Key Violation," and "Null in
Required Field" errors.
Do you know why this could be happening?
Thanks.
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
.
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
.