>>In my print manager I have this:
>>
>>oForm = NEWOBJECT([frxPreviewForm],[frxPreview.vcx],_REPORTPREVIEW)
>>LOCAL loRef as ReportListener
>>DO (_REPORTOUTPUT) WITH 1, loRef
>>oForm.WindowState = 2
>>loRef.PreviewContainer = oForm
>>
>>
>>But every time I compile the application I get this error:
>>
>>Form printask.scx has the following errors:
>> Visual Class Library FRXPREVIEW - Undefined
>>
>>How can I get rid of this message. There is no such command like EXTERNAL CLASSLIB.
>
>Is the classlib in the path (SET PATH)?
No, that classlib is stored in _REPORTPREVIEW application (ReportPreview.APP in C:\PROGRAM FILES\MICROSOFT VISUAL FOXPRO 9\ during the compilation) and I have no SET CLASSLIB to it. That is why I used NEWOBJECT() instead of CREATEOBJECT().
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.