D
david epsom dot com dot au
Running Microsoft Access 2000 (9.0.6926 SP-3),
with MSJet40.dll 4.0.8618.0 (SP-8, but not the
most recent hotfix).
I run this query on a linked table, and the autonumber
seed goes from 1030 to 560:
INSERT INTO tbl_B ( idxAutoNumber ... strReportAlias )
Select idxAutoNumber ...strReportAlias
FROM (tbl_A LEFT JOIN tbl_B
ON tbl_B.idxAutoNumber = tbl_A.idxAutoNumber)
LEFT JOIN tbl_B_1
ON tbl_B_1.strReportAlias = tbl_A.strReportAlias
WHERE ((tbl_B.idxAutoNumber Is Null)
AND (tbl_B_1.strReportAlias Is Null));
Table A is local and has 559 Records, Table B is linked
and has 1029 records.
From Table A, the query inserts record 519, which is
missing in table B. In Table B the next autonumber value
becomes 560: the seed has apparently been reset downwards
using the value from the source table: but 560 is already
taken in Table B: the seed should only reset upwards, and
it should not reset from the value in Table A.
Is there anything I can do or fix or install to avoid
this repeatable error?
(david)
with MSJet40.dll 4.0.8618.0 (SP-8, but not the
most recent hotfix).
I run this query on a linked table, and the autonumber
seed goes from 1030 to 560:
INSERT INTO tbl_B ( idxAutoNumber ... strReportAlias )
Select idxAutoNumber ...strReportAlias
FROM (tbl_A LEFT JOIN tbl_B
ON tbl_B.idxAutoNumber = tbl_A.idxAutoNumber)
LEFT JOIN tbl_B_1
ON tbl_B_1.strReportAlias = tbl_A.strReportAlias
WHERE ((tbl_B.idxAutoNumber Is Null)
AND (tbl_B_1.strReportAlias Is Null));
Table A is local and has 559 Records, Table B is linked
and has 1029 records.
From Table A, the query inserts record 519, which is
missing in table B. In Table B the next autonumber value
becomes 560: the seed has apparently been reset downwards
using the value from the source table: but 560 is already
taken in Table B: the seed should only reset upwards, and
it should not reset from the value in Table A.
Is there anything I can do or fix or install to avoid
this repeatable error?
(david)