Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report not found
Message
De
17/07/2004 09:55:48
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Report not found
Divers
Thread ID:
00925471
Message ID:
00925471
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform