Adding some sort of counter?

  • Thread starter Thread starter Kimberly Anne
  • Start date Start date
K

Kimberly Anne

Hi all. This is my first attempt at both Access and SQL in general, so
this may be a dumb question.

I have a table that is created as the result of a maketable between two
other tables. Is there any way I can add an ID number to this new
table in the maketable query? It doesn't matter what the ID is - each
record just needs a unique identifying number. I'm not at all familiar
with VBA so this isn't really an option unless there is no way to do it
within the query.

Thanks, Kim
 
Hi Kim,

An easy way would be to create the table first, and include a field of
type AutoNumber. Then use an Append query instead of Make Table to add
the records.

Jerry
Kimberly Anne wrote:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top