D
Dennis
Hi,
I have a table to which I am trying to manually add a record.
When I add a record directly to the table using query, I receive the error
message "You cannot add or change a record because a related record is
required in table 'tblMailingList-100220'".
First I do not have a table called tblMailingList-100220. I do have a table
called tblMailingList.
Originally I had setup a relationship between tblMailingList and tblRenew
where I joing the two tables by AcctNo and enforce referencial integrity and
cascade update and delete. I have removed the referential integrity and the
cascase update and delete. Then I deleted the relationsihp between the two
tables and I still can not add a new record.
I'm in the development phase. I will eventually have a form to allow the
user to enter data.
Any idea what is wrong. I do have other queries where I have the
tblMailingList and tblRenew tables joined, but I'm not using those queries at
this point in time.
The tblRenew and tblMailingList was joined by Acct #. tblMailingList is
keyed by AcctNo. tblRenew has AcctNo as a foreign key.
There is an existing account number for the record I'm trying to create in
tblRenew.
Any suggestions?
Thanks,
Dennis
I have a table to which I am trying to manually add a record.
When I add a record directly to the table using query, I receive the error
message "You cannot add or change a record because a related record is
required in table 'tblMailingList-100220'".
First I do not have a table called tblMailingList-100220. I do have a table
called tblMailingList.
Originally I had setup a relationship between tblMailingList and tblRenew
where I joing the two tables by AcctNo and enforce referencial integrity and
cascade update and delete. I have removed the referential integrity and the
cascase update and delete. Then I deleted the relationsihp between the two
tables and I still can not add a new record.
I'm in the development phase. I will eventually have a form to allow the
user to enter data.
Any idea what is wrong. I do have other queries where I have the
tblMailingList and tblRenew tables joined, but I'm not using those queries at
this point in time.
The tblRenew and tblMailingList was joined by Acct #. tblMailingList is
keyed by AcctNo. tblRenew has AcctNo as a foreign key.
There is an existing account number for the record I'm trying to create in
tblRenew.
Any suggestions?
Thanks,
Dennis