K
kellywebber
I'm sorry if this has already been posted before, I'm sure it has but
I've searched for an hour or so and haven't found anything that works
yet.
I need to delete records from one table which match the record that is
loaded on my current form when that record is deleted. Basically, when
the user presses the "delete" button on my form, I want the action to
also delete matching records in another table.
I would like to use SQL to do it, and just code it directly into the
On_Delete part of the program.
I guess I am just looking for code examples. For the sake of the
examples my main table is called TableA and the other table which I
would like to loop through and delete matching records is called
TableB. I have two fields that link, TableA.Field1 = TableB.Field1 AND
TableA.Field2 = TableB.Field2.
Any help is MUCH appreciated....
Thanks,
Kelly
I've searched for an hour or so and haven't found anything that works
yet.
I need to delete records from one table which match the record that is
loaded on my current form when that record is deleted. Basically, when
the user presses the "delete" button on my form, I want the action to
also delete matching records in another table.
I would like to use SQL to do it, and just code it directly into the
On_Delete part of the program.
I guess I am just looking for code examples. For the sake of the
examples my main table is called TableA and the other table which I
would like to loop through and delete matching records is called
TableB. I have two fields that link, TableA.Field1 = TableB.Field1 AND
TableA.Field2 = TableB.Field2.
Any help is MUCH appreciated....
Thanks,
Kelly