Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excluding Reports from EXE
Message
De
29/10/2001 10:18:04
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00566222
Message ID:
00574497
Vues:
29
In the Before Open Tables event, I have sucessfully used the newobject method.

This.oReportSessionEnvironment = ;
NEWOBJECT('CReportSessionEnvironment','csm.exe')

However, in the Init method I tried to use populate oDataEnvironment and my whole application locks up at this command:

SET CLASSLIB TO AReports ADDITIVE (This errors out saying the alias areports is already in use by my form that I've opened in the Before Open Tables event - if I use a different alias it also locks up).

This.oDataEnvironment = CREATEOBJECT('RptProjUpdateEnv')

-or without the set classlib command -

This.oDataEnvironment = NEWOBJECT('RptProjUpdateEnv','AReports')


It doesn't give an error - just pegs my CPU to 100%.

I excluded Areports (which includes my Env classes and bizobjs). I did this so when I need to distribute more reports, I could just send these files. Maybe I'm missing a step? Any insight would be appreciated.

Chuck
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform