Append Blank In INVCOUNT
Replace INVCOUNT.CLOCATION With TEMPLOC
Replace INVCOUNT.CUPC With TEMPUPC
Replace INVCOUNT.NCOUNT With 1
Christopher,
You are doing an APPEND BLANK IN, but you are not REPLACEing IN, that might bring you wrong results. I would use Fabio's approach of using INSERT instead of APPEND/REPLACE
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges