Just see thread184-10689 ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK
Allo
I Have some code that I'm using to print a report in Crystal. I was working with the ver. 6.0 and use the activeX OCX but it's very limited. If you want a read OOP and a lot of control, go to 8.0 or even 8.5. With 8, you have a better control over your object. The data objects are better (a collection of tables, fields, ...).
Here some code for OCX and RDC. Hope it will Help..
DO CASE
CASE tcCRType = "OCX" && Crystal Ver 6 or 7
loCrystalReport = NEWOBJECT("crystal.CrystalReport"
*** Open the report ***
loCrystalReport.ReportFileName = lcReport
*** Set the printer information ***
loCrystalReport.PrinterName = lcPrtName
loCrystalReport.PrinterDriver = lcPrtDrv
loCrystalReport.PrinterPort = lcPrtPort
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.