Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to assign autonumber to fields in access query?

Status
Not open for further replies.

1661

MIS
Aug 9, 2002
12
US
Hi,

How can I assign autonumbers to the fields in an access query?

Please help.

Thanks
 
I don't understand your question.

An AUTOnumber field is "By Definition" Read Only.

Read Only seem incompatible with the term "Assign".


What are you asking ?





G LS
spsinkNOJUNK@yahoo.co.uk
Remove the NOJUNK to use.
 
Sorry, I should have been more clear. When I say assign, I mean if I am writing a select query: I could be selecting a part of the primary key (and since its a part of the PK, they will not be unique). How can I assign (generate) an auto number(in order 1,2,3,4....so on) in this scenario so the selected records can all be unique.

I hope this clarifies your question.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top