Deleting a Record from a Form

Allan

Registered User
Local time
Today, 17:06
Joined
Apr 28, 2001
Messages
42
I am working in A2000 and consider myself a novice Access user.

I have one form in the d/base with a subform imbedded. The form derives the information from a query getting information from two tables (One main table the other a town/postcode table).

When I delete a record from the form the record will disappear but remains in the main table, reappearing obviously when the form is reopened.

I have other databases where the delete button removes the record from the underlying table and I have checked all the Form Properties etc against the "offending" D/base but cannot identify any obvious differences. Can somebody point me in the right direction please.

Thanks
 
Tks. Had not seen that question and responses but there were others along the same lines but could not provide me with answers.

There is a one to many relationship and I have checked the cascade delete.

Still a mystery to me.
 
Sorry for the bother - operator error.

During a process of elimation (by starting at the beginning) I found in the query for the main table used in the main form, I had inadvertantly included the table used to store the information for the subform, thereby duplicating it with the sub form query.

Lesson learnt to check my work before posting a question.
 

Users who are viewing this thread

Back
Top Bottom