>David,
>
>Thanks for your help! :) I tried your suggestions and when I run the report I receive the message - Alias LOCOMPANY is not found. Does this mean that the memvar went out of scope?
>
>My modal form is still open, and I added code to display the values of loCompany.lretval, loCompany.cCompany & loCompany.cReportHeader, they still have their values just prior to the command REPORT FORM appaid. I even tried defining a variable and assigned it the value of loCompany.cReportHeader and used the variable name in my report. I then receive the message - Variable VREPORTHEADER is not found.
>
>This seems so simple, what did I do wrong? I guess I can't see the forest for all the trees.
Trisha,
In addition to what Dave said, I have a question. When you close the form, are you RELEASEing the form or are you HIDEing the form.
It's important to make sure that the form is not released. If it is, you lose the object reference. When the user presses OK, hide the form, don't release it.
Hope this helps,