
Originally Posted by
June7
Possibly your data structure needs some modification. It should rarely be required to delete records. A field in products table should indicate 'reorder level' for each product. Then query or code should be executed that calculates the balance on hand for each product (sum of purchases minus sum of sales). If the balance is less than the 'reorder level' (or within certain percentage) the product should show up on a list of items to reorder. Once order is placed, refresh the query and the product should no longer be on the list.