G
GVaught
When you are dealing with a main form /sub form the two forms are related
through a common field. The primary key of tbl1 (main form) should also be
in tbl2 as the foreign key. It is possible that you need to reset this
master/child relationship back into the two forms. Open the main form and
open form properties, then click on the little square in the upper left the
properties box should change to show you how the two forms are related. If
the keys are incorrect, then this is your problem. Associate the primary key
of the main table (tbl1) with the same key name in tbl2.
If you have not matching key in tbl2, then you need to create one to get the
relationship back on track. Also check the relationships in the relationship
window and make sure all tables are related correctly. If you are not
familiar with relationships, then you need to read up on these topics:
normalization, referential integrity, and database relationships.
through a common field. The primary key of tbl1 (main form) should also be
in tbl2 as the foreign key. It is possible that you need to reset this
master/child relationship back into the two forms. Open the main form and
open form properties, then click on the little square in the upper left the
properties box should change to show you how the two forms are related. If
the keys are incorrect, then this is your problem. Associate the primary key
of the main table (tbl1) with the same key name in tbl2.
If you have not matching key in tbl2, then you need to create one to get the
relationship back on track. Also check the relationships in the relationship
window and make sure all tables are related correctly. If you are not
familiar with relationships, then you need to read up on these topics:
normalization, referential integrity, and database relationships.