Results 1 to 6 of 6
  1. #1
    ymds is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    19

    automate id in queries-probably something very simple

    hey, i created a column using alias and called it "average"

    how can i add an automate number column in addition to the new "average" column?

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    you cant. The AutoNumber datatype in Access needs to be set at the very beginning (you cant change a num to autonum) and it cannot be used in conjuction with others, meaning you cant set 1 3 5 7 then want autonumber to take over from there with 8 9 10 11.

  3. #3
    ymds is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    19

    i didn't explain myself properly.. what i want to do is

    when i run some query it filters some of my records.
    therefor i need in addition to the columns displayed by the query, a new column with autoNumber DT so i'll be able to see what is the new order of the records (1, 2, 3 etc..)

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    open the table in design view and just add the column name and choose autonumber as its datatype.

  5. #5
    ymds is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    19

    but in that case the

    numbers will not be in 1, 2, 3 order... they might be 3, 6,8 etc...

  6. #6
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    If it's not going to be sequential, then autonumber isnt the proper tool to use for this. Is there a mathematical method in choosing the numbers? Or are they available somewhere else? If not, I really dont know of a way other than just opening the table up and manually adding in all the numbers you want.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Automate sending SMS form MS Access
    By Johan in forum Programming
    Replies: 8
    Last Post: 04-15-2010, 12:51 AM
  2. Automate Compact and Repair process
    By tracerbullet in forum Security
    Replies: 2
    Last Post: 01-14-2010, 05:12 PM
  3. Automate field in a table
    By Glyn in forum Database Design
    Replies: 1
    Last Post: 12-16-2009, 01:17 AM
  4. Automate....
    By kusamharsha in forum Queries
    Replies: 3
    Last Post: 05-14-2009, 03:02 AM
  5. How to automate a access query ... Help me
    By kusamharsha in forum Programming
    Replies: 0
    Last Post: 02-25-2009, 09:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums