>The problem is that when I issue the DO FORM to bring up the screen for the
>user to input the data the next line is for the REPORT FORM. once I open the
>input form the report automatically prints it doesn't wait for the screen to be
>closed, how can I get it to wait until the data is entered and the form is
>closed
It sounds as if you need to make your form Modal. If you use a default form, as soon as it instantiates, the next line of code executes (this is what we have READ EVENTS for).
Set your
Form.WindowType = 1
and you should be all set.