@DougHiggs the ""WHERE ItemCode = (SELECT ItemCode FROM IM_DeleteChange) "" gets all the items in the deletechange file without having to specify each one individually, but @WayneSchulz idea does work as well, with the advantage that the detail is still there for Sage utilities to use in generating random counts and values...