Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable '_REPORTOUTPUT' is not found.
Message
From
06/12/2004 10:13:30
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00967065
Message ID:
00967185
Views:
44
This message has been marked as the solution to the initial question of the thread.
Ali,

>When I want to use any report in exe mode, the application is giving following error.
>
>"Variable '_REPORTOUTPUT' is not found."

The value of _REPORTOUTPUT does not default to the usual value when in runtime mode. You have to explicitly set it if you are creating VFP9-style report output. Also, you need values for _REPORTPREVIEW and _REPORTBUILDER if you are using those features in your runtime app.

You can get the default values at the command prompt in the full dev version by typing:
? _REPORTOUTPUT
? _REPORTPREVIEW
? _REPORTBUILDER

Of course, in runtime mode, you will need to point them to a location where those files exist in your client deployment (and put the default .APPs there in your setup -- there is a merge module specifically for that, at least in the later beta versions, maybe not in the public beta).

When you think about it, it becomes clear why those vars do not default to the VFP9 directory in runtime mode, since in a runtime situation you usually can't count on the full VFP install.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform