I have a few problems with deleteing a record from my table/form. (A2K)
My form is based on a query of two tables, Order(1) and Fee(M). The Fee table has a condition where one of the feilds=1, so now, when I delete from the form, (using the wizard generated button) only the Fee record gets deleted, not the Order. I believe this happens b/c of the conditino in the query.
Now, my problem is this, when I try to delete, I no longer get the Access warning that I'm about to delete, but not on the last record. As well, the Form_AfterDelConfirm event doesn't fire.
Basically, what I'm trying to do is this: After they confirm the delete, I want to run a delete query to delete the record that they have chosen to delete. However, if I dont' get either of those events, it's a bit hard to do this.
As well, my other problem was this. Instead of the above, I was going to dump the doCmd command, and do it all through code, however, I can't seem to refresh the form, and on top of that, I can't move to any other records(also through buttons that I got from the wizard).
I'm not sure if I've given enough info, but I'll be more than happy to expound, as I'm really stuck here.
My form is based on a query of two tables, Order(1) and Fee(M). The Fee table has a condition where one of the feilds=1, so now, when I delete from the form, (using the wizard generated button) only the Fee record gets deleted, not the Order. I believe this happens b/c of the conditino in the query.
Now, my problem is this, when I try to delete, I no longer get the Access warning that I'm about to delete, but not on the last record. As well, the Form_AfterDelConfirm event doesn't fire.
Basically, what I'm trying to do is this: After they confirm the delete, I want to run a delete query to delete the record that they have chosen to delete. However, if I dont' get either of those events, it's a bit hard to do this.
As well, my other problem was this. Instead of the above, I was going to dump the doCmd command, and do it all through code, however, I can't seem to refresh the form, and on top of that, I can't move to any other records(also through buttons that I got from the wizard).
I'm not sure if I've given enough info, but I'll be more than happy to expound, as I'm really stuck here.