>>It works, but not in run-time.
>>I should copy ReportPreview.APP into the Application folder if I change that code.
>>Thank you Sergey. It is not a big deal just a little annoying.
>
>Last try :)
>
>IF .F.
> oForm = NEWOBJECT([frxPreviewForm],[frxPreview.vcx], "ReportPreview.APP")
>ENDIF
>oForm = NEWOBJECT([frxPreviewForm],[frxPreview.vcx],_REPORTPREVIEW)
>
Nope :o(
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.