I have a Main form based on Table "Site" the main form only has a couple of fields and an Locate combobox. I have sub foms on pages underneath. One of the sub forms is based on Table "Site" too.
When I enter Header data on the Main form everything works OK. But when I enter data on the Subform based on the Table "Site" I get an Error telling me that I would create duplicate vaules in the index, primary key or Relationship.
Some things to note: when I enter data on the other subforms based on different tables everything works fine. My relationships are fine. I also checked the Indexes on all my field names and only one (the primary key [SITE_ID]) doesn't allow duplicates.
and a wierd thing: When I look at the Master/Child Links Both fields have SITE_ID;SITE_ID;SITE;ID;SITE;ID repeating along the field?????
Can you have a Subform based on the same table as the Main table? Or is something else at play??? thanx
When I enter Header data on the Main form everything works OK. But when I enter data on the Subform based on the Table "Site" I get an Error telling me that I would create duplicate vaules in the index, primary key or Relationship.
Some things to note: when I enter data on the other subforms based on different tables everything works fine. My relationships are fine. I also checked the Indexes on all my field names and only one (the primary key [SITE_ID]) doesn't allow duplicates.
and a wierd thing: When I look at the Master/Child Links Both fields have SITE_ID;SITE_ID;SITE;ID;SITE;ID repeating along the field?????
Can you have a Subform based on the same table as the Main table? Or is something else at play??? thanx