M
Mike Thomas
Using Access 2000, below is a simplified SQL statement used to make a temp
table.
Since [dipk] is an auto number field/rimary key in the parent table [Packing
Data -Items], I've renamed it and done the multiplication by 1 to so that
these propertied will not be inherited.
Because of what I do with the temp table later in the program, I would like
to wind up with a table with the first column named dipk, but without any
autonumber or primary key status inherited.
SELECT [dipk]*1 AS PackLineKey, [Packing Data -Items].diPackingHEADERKey
INTO xPackLine
FROM [Packing Data -Items]
WHERE False;
Is there a way to do this, or do I need to the rename the field PackLineKey
back to dipk?
Many thanks
Mike Thomas
table.
Since [dipk] is an auto number field/rimary key in the parent table [Packing
Data -Items], I've renamed it and done the multiplication by 1 to so that
these propertied will not be inherited.
Because of what I do with the temp table later in the program, I would like
to wind up with a table with the first column named dipk, but without any
autonumber or primary key status inherited.
SELECT [dipk]*1 AS PackLineKey, [Packing Data -Items].diPackingHEADERKey
INTO xPackLine
FROM [Packing Data -Items]
WHERE False;
Is there a way to do this, or do I need to the rename the field PackLineKey
back to dipk?
Many thanks
Mike Thomas