I need to create a simple query that selects a few fields from a table, and appends them to another table.
No big deal, right?
INSERT INTO Table2 ( FieldOne, FieldTwo )
SELECT Table1.FieldOne, Table1.FieldTwo
FROM Table1;
BUT, I also need to append values into a third field that just number the records in this recordset in order.
For example, if my query selects 10 records, then the values in the third field would be 1,2,3,4,5,6,7,8,9,10.
The results would appear to be something like:
FieldOne FieldTwo RecNo
Ron Smith 1
Bill Jones 2
Don Johnson 3
Dan Hicks 4
etc, etc.
Any help will be appreciated!
Thanks in advance....
No big deal, right?
INSERT INTO Table2 ( FieldOne, FieldTwo )
SELECT Table1.FieldOne, Table1.FieldTwo
FROM Table1;
BUT, I also need to append values into a third field that just number the records in this recordset in order.
For example, if my query selects 10 records, then the values in the third field would be 1,2,3,4,5,6,7,8,9,10.
The results would appear to be something like:
FieldOne FieldTwo RecNo
Ron Smith 1
Bill Jones 2
Don Johnson 3
Dan Hicks 4
etc, etc.
Any help will be appreciated!
Thanks in advance....