Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excluding Reports from EXE
Message
From
29/10/2001 10:18:04
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00566222
Message ID:
00574497
Views:
30
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
Map
View

Click here to load this message in the networking platform