K
KevinC
Hi All,
I have a database with a table and a number of fields within it.
Every now and then I need to query the table and produce a subset of
the data.
I will often need a sequence number within the table (this does not
have to relate to rank and there is no preference as to what row
should be number 1 to n). At the moment:
- I run a make table query based on my criteria.
- Open the new table in design view.
- Add a new field called "ID" and give it an AutoNumber data type.
I would like to know if there is a way I can automatically add the
auto-number value in the original query so that I don't have to keep
going through the other steps!
Any help would be much appreciated.
Regards,
Kevin
I have a database with a table and a number of fields within it.
Every now and then I need to query the table and produce a subset of
the data.
I will often need a sequence number within the table (this does not
have to relate to rank and there is no preference as to what row
should be number 1 to n). At the moment:
- I run a make table query based on my criteria.
- Open the new table in design view.
- Add a new field called "ID" and give it an AutoNumber data type.
I would like to know if there is a way I can automatically add the
auto-number value in the original query so that I don't have to keep
going through the other steps!
Any help would be much appreciated.
Regards,
Kevin