Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM......NAME...LINKED
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102548
Message ID:
00102782
Views:
34
>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,
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Previous
Reply
Map
View

Click here to load this message in the networking platform