>I think the KEYBOARD command should be placed immediately BEFORE the "modify file" command. The characters are stuffed into the buffer with KEYBOARD, and are executed on the next occasion VFP waits for input.
>
Yes Hilmar, you are right, I was not thinking very well, you also do not need the NOWAIT
"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