>>>In any case, Seagate recommends that you not use the OCX any more: support will be dropped in a future release. Try creating an automation server.
>>>loCR = CREATEOBJECT('Crystal.CRPE.Application')
>>>loRep = loCR.OpenReport('MyReportName.rpt')
>>>loRep.PrintOut()
>>But if I don't use the Ocx on the form, how will I handle its properties like
>>preview options etc?And how will I call the application from my form?
>
>Well, see the above code, and reference the developer's help. It takes a while to get the hang of reading it, but once you figure out how they've organized it, it's easier (note the 'er' :-) )
>
>loRep.PrintWindowOptions.CanDrillDown = .T.
>loRep.PrintWindowOptions.HasPrintButton = .F.
Oops, forgot the other command:
loRep.Preview()