New Post

B

Bjarne Lindquist

How to determine the new autonumber

Table tNew
-------------
[ID] Autonumber PRIMARYKEY
[Material] Text(50)


I want to insert a new record like

INSERT INTO tNew ([Material])
SELECT [WhatEverText]


This work ok, then my problem is what is the new [ID]?

Can anybody help?
 
H

Howard Brody

The AutoNumber should autopopulate with each new record so
you don't have to build it into your query.

Hope this helps!

Howard Brody
 

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

Top