P
Paul
I had a table with a plot numbers field and compass direction field, along
with other fields. Each plot number could be repeated up to 8 times, as we
used the 8 directions of the compass rose. Query1: I querried out records
based on compass direction. Query2: I then created 2 new fields from
expressions; I copied and pasted the same sql statement for all directions in
query2 and only changed the multiplier for the different direction. All
tables created in query 2 are identical.
When I tried to combine the new values into a table using Append(Insert
Into), I get a Duplicate Output Destination in 'plot number'. Is this because
the plot number is repeated up to 8 times? If not, what is wrong with my
query.
INSERT INTO NeighbourTreeLocations
SELECT [EastTreeN&E].*, [SETreeN&E].*, [SouthTreeN&E].*, [SWTreeN&E].*,
WestTrees.*, [NWTreeN&E].*
FROM [EastTreeN&E], [SETreeN&E], [SouthTreeN&E], [SWTreeN&E], WestTrees,
[NWTreeN&E], [NETreeE&N];
with other fields. Each plot number could be repeated up to 8 times, as we
used the 8 directions of the compass rose. Query1: I querried out records
based on compass direction. Query2: I then created 2 new fields from
expressions; I copied and pasted the same sql statement for all directions in
query2 and only changed the multiplier for the different direction. All
tables created in query 2 are identical.
When I tried to combine the new values into a table using Append(Insert
Into), I get a Duplicate Output Destination in 'plot number'. Is this because
the plot number is repeated up to 8 times? If not, what is wrong with my
query.
INSERT INTO NeighbourTreeLocations
SELECT [EastTreeN&E].*, [SETreeN&E].*, [SouthTreeN&E].*, [SWTreeN&E].*,
WestTrees.*, [NWTreeN&E].*
FROM [EastTreeN&E], [SETreeN&E], [SouthTreeN&E], [SWTreeN&E], WestTrees,
[NWTreeN&E], [NETreeE&N];