Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report not found
Message
From
17/07/2004 09:55:48
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Report not found
Miscellaneous
Thread ID:
00925471
Message ID:
00925471
Views:
53
I have a set of output classes, one of which will generate a standard VFP report. A client has requested a customized version of one of our reports, so I have put that in a separate custom.app that is called from main.app. A global Strategy object is responsible for instantiating the appropriate output class and generating the report. This global object was created from main.app, so it appears that the output class is instantiated as part of main.app and cannot find the report form that is compiled as part of custom.app. I've tried SET PROC TO custom.app ADDITIVE, but that doesn't seem to help. There are a couple of workarounds:

1) Use REPORT FORM instead of delegating to the output class, but that defeats the purpose.

2) Distribute the report separately from custom.app so that it can be found by main.app.

I can do the latter if necessary, but I wondered if there is a way to tell main.app to look for the report in custom.app.

Thanks.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Next
Reply
Map
View

Click here to load this message in the networking platform