Cascade Delete Related Records with code

T

Tom G.

I figure there must be a fairly standard way to handle deleting related
records in different tables with code. I know you can set the Cascade Delete
Related Records when setting up the relationship but I already have records
in one table and not the other which keeps me from setting this now. I would
think the perferred way to handle it with code anyway. Does anyone know of a
bit of code that shows how to do it? Also I'm having trouble getting a sub
form to work correctly when there are no related records in the sub form
records. I want to be able to add the records thru the sub form but the form
doesn't show up anywhere there are not already related records? Could someone
please explain why this happens?

Thanks!!!!!!!!!!!!!
 
R

Ronx

You may be better posting this in an Access newsgroup or forum - unless you
are querying the database through ASP pages, in which case a subform is not
relevant. As stated, your problem is not FrontPage related.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top