R
Rolf Rosenquist
I have a subform with order rows inside an order form. The number of each
item sold are subtracted from the stock table. If I delete an item row, the
stock table will be updated so that the number of items will be added back
to the table.
This I have done, by first defining how many and what item is concerned, by
the form's Delete event. Then, with a check of the AfterDeleteConfirm event
status, the number of items go back into stock, if the user confirms the
delete.
This works as intended, but of course, only with one row at a time. How can
I arrange, so that it works also when more than one row is deleted at the
same time?
/ Rolf
item sold are subtracted from the stock table. If I delete an item row, the
stock table will be updated so that the number of items will be added back
to the table.
This I have done, by first defining how many and what item is concerned, by
the form's Delete event. Then, with a check of the AfterDeleteConfirm event
status, the number of items go back into stock, if the user confirms the
delete.
This works as intended, but of course, only with one row at a time. How can
I arrange, so that it works also when more than one row is deleted at the
same time?
/ Rolf