General information
Category:
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only