Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code runs from form but not menu
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00499273
Message ID:
00499361
Views:
17
Hi Barbara

Probably u can give a select statment in the menu code .
which will select the appropriate report table.

Hope this helps

>Is the report running in a private datasession? If not, you may need to access one or more of the tables in the form datasession.
>
>Also, be sure the last line before calling the report is a SELECT for the main report table.
>
>HTH
>Barbara
>
>>I have a procedure that when run from a button on my form runs fine. It requeries some views , assigns some variables values and runs a report form. From the button the report generates correctly, but when launched from a procedure on the menu on the same form the report does not generate correctly, it appears as if the wrong table or view is selected. What is the difference between lanching the code from the form and from the menu?
Regards
Hiten K M

( The best and the worst are yet to come .. keep coding ! )

My Resume >>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform