Auto Number

D

DeVille

I have two tables table A and table B they both have
fields that are auto numbered, how do I prevent table A
from using any number in the auto numbered field that has
already been used in table B's auto number field
 
J

John Vinson

I have two tables table A and table B they both have
fields that are auto numbered, how do I prevent table A
from using any number in the auto numbered field that has
already been used in table B's auto number field

You can't (Steven is mistaken).

This is a clear violation of normal form. A table's Primary Key should
uniquely identify a record in that table, and should not depend on any
other table!

Are you perhaps missing a table? It sounds like these two tables are
Subclasses of some other entity. What do the tables represent? Could
they both be in a one-to-one relationship with a master table with an
autonumber ID?
 

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