Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Report file invalid error???
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00146832
Message ID:
00147216
Views:
41
>>>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()
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform