Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting records in a subform

Status
Not open for further replies.

osi2301

Programmer
Jul 3, 2004
75
AU
I have built a delete button on my page. The page also has a linked subform. If I delete the main record it only deletes the information in the main form but retains the information in the subform. Is there a way to delete both records in the main form and the subform at the same time?
 
If you are enforcing referential integrity, you can turn on Cascade Delete Related Records.

(right-click on the join line in the Relationships window)
 
I did that but the box to tik is disabled?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top