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,
CRISMA.EXE runs any one of a number of report prgs that are not contained in the exe. Most of these reports prgs run a form, (scx) that is also not contained in the exe, that gets the report criteria. The prg gets the data and then runs the frx. The problem is with objects in the the scx files that are based on classes in the vcx files.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn