>>Without building the code and testing, sounds like the click to get rid of the WAIT WINDOW was interfering with the sequence. Best to use the NOWAIT clause with stuff like this...
>
>I could remeber going through it about 200 times to make sure it wasn't something like that. I even used the Keyboard! <g> What good would NOWAIT do if I wanted to see the values? DEBUGOUT is the way to go, and thats what I said at the beginging ;-)
DEBUGOUT also has the advantage that you don't have to go back and remove them from your code. They don't do anything in the runtime.