>>>I have a program where I need to send out a number of idividual reports to my clients. Most of the reports also have a form for the user to enter the report criteria. I would like to be able to simply send out the the scx and frx files as needed but I just realized that the forms need the vcx files that have my classes. Can the scx get to a vcx if it is packages in an app or exe? I really want to avoid having to compile each small report frx and scx in a seperate exe or app.
>>
>>Yes. SET CLASSLIB TO MyClass IN MyEXE.
>
>Craig,
> Well I thought that would do it but it doesn't so maybe I've got something wrong. I have a project that is using 4 vcx files in the sub dir H:\VJHENN\LIBS.
>My exe is G:\CRISMA\CRISMA.EXE. I tried setting classlib additive in the main prg in crisma.exe for the 4 vcx files and I get the message Cannot find H:\vjhenn\libs\vjctrl.vcx. When running the external scx. If I list status I get:
>Class libraries: \
>G:\VJHENN\LIBS\CALENDAR.VCX IN G:\CRISMA\CRISMA.EXE ALIAS CALENDAR
>, H:\VJHENN\LIBS\VJBASE.VCX IN G:\CRISMA\CRISMA.EXE ALIAS VJBASE
>, H:\VJHENN\LIBS\VJCTRL.VCX IN G:\CRISMA\CRISMA.EXE ALIAS VJCTRL
>, H:\VJHENN\LIBS\VJSEARCH.VCX IN G:\CRISMA\CRISMA.EXE ALIAS VJSEARCH
>
>Any ideas?
Let's revisit this. I want to make sure I understand what you are doing.
- You launch CRISMA.EXE.
- From the menu or a dialog you select a report to run.
- The command DO FORM MyRepForm
- The report is printed
If this is the case, you shouldn't need to do anything except distribute the SCX.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer