P
PeteCresswell
Iterative routine, creating a bunch of yields for investment vehicles
into a work table.
I threw in a autonumber "RecordID" to give it a PK just on GPs.
My understanding is that an AutoNumber field is Numeric Type = Long
and that Long is good up to a value of 2,147,483,647.
But this thing is going belly-up when it tries to create record
#20,847,689.
The error thrown is "3001: Invalid argument.".
I can replicate it by opening up the partially-filled work table,
adding a new line, and trying to tab out of the line - so I don't
think it's anything with my VBA routine.
Also, if it go directly to the work DB where the table lives and
remove the AutoNumber field from the table I can successfully add a
record.
Finally, the size of the work DB is 2,097152 kb.... which makes me a
little suspicious....yet I can still add that record after the
offending field has been removed.
Anybody seen this?
(I should add that this is something of idle curiousity because I
should be able to just remove the autonumber PK ...)
into a work table.
I threw in a autonumber "RecordID" to give it a PK just on GPs.
My understanding is that an AutoNumber field is Numeric Type = Long
and that Long is good up to a value of 2,147,483,647.
But this thing is going belly-up when it tries to create record
#20,847,689.
The error thrown is "3001: Invalid argument.".
I can replicate it by opening up the partially-filled work table,
adding a new line, and trying to tab out of the line - so I don't
think it's anything with my VBA routine.
Also, if it go directly to the work DB where the table lives and
remove the AutoNumber field from the table I can successfully add a
record.
Finally, the size of the work DB is 2,097152 kb.... which makes me a
little suspicious....yet I can still add that record after the
offending field has been removed.
Anybody seen this?
(I should add that this is something of idle curiousity because I
should be able to just remove the autonumber PK ...)