Information générale
Catégorie:
The Mere Mortals Framework
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement