So I'm creating a new db from scratch (basically transitioning a massive excel sheet into access).
It is a Property Database. with Site #s, addresses and more standard fields like those.
I've got a couple things working correctly, but there is one field that is only maintained in the excel sheet (Site Status).
There is one table set up in the db called "Site List" where all of teh properties are located. The second table is called "Site Details". The Proprty Number Field has a 1-to-1 relationship between these two tables (With Enforced Referential Integrity, Cascade Update Related Fields and Cascade Delete Related Fields all checked).
So what I want to do is have every Property # that exists in "Site List" table exist on "Site Details". Then I want to import the data for the field "Site Status" into the "Site Details".
My thoughts were to create an append query based off of tblSiteList to push all of the Property Numbers to tblSiteDetails and then import the data. Teh Append query works fine.
When I try to import the data, (there are 1012 records in the table, but only 940 in the excel sheet), into tblSiteDetails, it gives the error "765 records were lost due to key violations". When I open up the table, it has no data in the Site Status field.
Any help would be wonderful.
It is a Property Database. with Site #s, addresses and more standard fields like those.
I've got a couple things working correctly, but there is one field that is only maintained in the excel sheet (Site Status).
There is one table set up in the db called "Site List" where all of teh properties are located. The second table is called "Site Details". The Proprty Number Field has a 1-to-1 relationship between these two tables (With Enforced Referential Integrity, Cascade Update Related Fields and Cascade Delete Related Fields all checked).
So what I want to do is have every Property # that exists in "Site List" table exist on "Site Details". Then I want to import the data for the field "Site Status" into the "Site Details".
My thoughts were to create an append query based off of tblSiteList to push all of the Property Numbers to tblSiteDetails and then import the data. Teh Append query works fine.
When I try to import the data, (there are 1012 records in the table, but only 940 in the excel sheet), into tblSiteDetails, it gives the error "765 records were lost due to key violations". When I open up the table, it has no data in the Site Status field.
Any help would be wonderful.