Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2008

Tip: Looking for answers? Try searching our database.

delete

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Yousoft - 18 May 2008 11:41 GMT
I have one main form linked with many sub form, my problem if I want to
delete one record, it delete only form the main form table so when you open
another table you will find same record still there in another tables so what
I will do to delete the records from all tables in the same time.
Thanks
Rick Brandt - 18 May 2008 12:02 GMT
> I have one main form linked with many sub form, my problem if I want
> to delete one record, it delete only form the main form table so when
> you open another table you will find same record still there in
> another tables so what I will do to delete the records from all
> tables in the same time.
> Thanks

That is accomplished via the relationships you create between your tables.
If you enforce referential integrity in those relationships then you have
the option to "cascade" updates and deletes.  Doing the latter would cause a
delete in the main table to also delete all associated records in the child
tables.

Signature

Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt   at   Hunter   dot   com

Yousoft - 18 May 2008 13:24 GMT
Please sir, I need further explanation, step-by-step what I should do.
Thanks
yusuf

> > I have one main form linked with many sub form, my problem if I want
> > to delete one record, it delete only form the main form table so when
[quoted text clipped - 8 lines]
> delete in the main table to also delete all associated records in the child
> tables.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.