B
Brigitte P
Have a volunteer database with several tables. One is
Organizations where any new entry has an ID designated
with an AutoNumber which is also the primary key. When
data is entered, the related tables (e.g. Contribution)
automatically takes that ID (created in the original table
by the AutoNumber) as the related field. The tables are
related in a one to many relationship (Organization 1;
Contributions many). The contributions table has as
primary key its own IDNumber, again created with the
AutoNumber simply to provide a place for a primary index.
Referential integrity is enforced on table level.
All works fine, except that I read someplace that upon
compacting the dbase, AutoNumbers can be reassigned to be
consecutive. Here is my question:
1.Is my thinking accurate that even in a split database,
as long as referential integrity is enforced on the
backend, AutoNumbers are not reassigned when related
records exist (otherwise it may mess up things badly)?
2.Is there a way to prevent that AutoNumbers are
reassigned upon compacting?
3.Is there a difference between A97, A2000, A2002 in
regard to AutoNumbers, since I understand that A2002
automatically compacts databases when the dbase is close.
Thanks for your thoughts on this.
Brigitte
Organizations where any new entry has an ID designated
with an AutoNumber which is also the primary key. When
data is entered, the related tables (e.g. Contribution)
automatically takes that ID (created in the original table
by the AutoNumber) as the related field. The tables are
related in a one to many relationship (Organization 1;
Contributions many). The contributions table has as
primary key its own IDNumber, again created with the
AutoNumber simply to provide a place for a primary index.
Referential integrity is enforced on table level.
All works fine, except that I read someplace that upon
compacting the dbase, AutoNumbers can be reassigned to be
consecutive. Here is my question:
1.Is my thinking accurate that even in a split database,
as long as referential integrity is enforced on the
backend, AutoNumbers are not reassigned when related
records exist (otherwise it may mess up things badly)?
2.Is there a way to prevent that AutoNumbers are
reassigned upon compacting?
3.Is there a difference between A97, A2000, A2002 in
regard to AutoNumbers, since I understand that A2002
automatically compacts databases when the dbase is close.
Thanks for your thoughts on this.
Brigitte