Hi everybody,
I am using Progress OE 10.1b with crystal reports 8.0 in a Windows xp environment. I am programming with a text connection file through DSN file and schema.ini.
I have a window with a Crystal Report Control ocx (C:\WINDOWS\system32\Crystl32.ocx), my code looks like:
-----
chCtrlFrame:CrystalReport:WindowWidth = 700.
chCtrlFrame:CrystalReport:WindowHeight = 500.
IF rsPrinter = 2 THEN chCtrlFrame:CrystalReportrintFileType=cFormato.
chCtrlFrame:CrystalReport:ReportFileName = pcRepFileName.
chCtrlFrame:CrystalReport:WindowShowPrintSetupBtn = TRUE.
chCtrlFrame:CrystalReport:WindowShowCloseBtn = TRUE.
chCtrlFrame:CrystalReport:WindowShowRefreshBtn = TRUE.
chCtrlFrame:CrystalReport:WindowShowSearchBtn = TRUE.
chCtrlFrame:CrystalReport:WindowShowZoomCtl = TRUE.
chCtrlFrame:CrystalReport:WindowShowNavigationCtls = TRUE.
chCtrlFrame:CrystalReport:WindowState = 1.
chCtrlFrame:CrystalReport:WindowShowExportBtn = FALSE.
chCtrlFrame:CrystalReport:WindowTitle = pcReportTitle.
chCtrlFrame:CrystalReportestination = rsPrinter.
chCtrlFrame:CrystalReport:CopiesToPrinter = F-NumberCopies.
chCtrlFrame:CrystalReportrinterStartPage = R-PageBeg.
chCtrlFrame:CrystalReportrinterStopPage = R-PageEnd.
chCtrlFrame:CrystalReportrintFileName = R-OutputFile.
chCtrlFrame:CrystalReportrintReport.
----
When i run this piece of code nothing happens!, no error message,
i don't know where is the error, what is missing.
please if somebody can tell me.
GBE!
Olive.
I am using Progress OE 10.1b with crystal reports 8.0 in a Windows xp environment. I am programming with a text connection file through DSN file and schema.ini.
I have a window with a Crystal Report Control ocx (C:\WINDOWS\system32\Crystl32.ocx), my code looks like:
-----
chCtrlFrame:CrystalReport:WindowWidth = 700.
chCtrlFrame:CrystalReport:WindowHeight = 500.
IF rsPrinter = 2 THEN chCtrlFrame:CrystalReportrintFileType=cFormato.
chCtrlFrame:CrystalReport:ReportFileName = pcRepFileName.
chCtrlFrame:CrystalReport:WindowShowPrintSetupBtn = TRUE.
chCtrlFrame:CrystalReport:WindowShowCloseBtn = TRUE.
chCtrlFrame:CrystalReport:WindowShowRefreshBtn = TRUE.
chCtrlFrame:CrystalReport:WindowShowSearchBtn = TRUE.
chCtrlFrame:CrystalReport:WindowShowZoomCtl = TRUE.
chCtrlFrame:CrystalReport:WindowShowNavigationCtls = TRUE.
chCtrlFrame:CrystalReport:WindowState = 1.
chCtrlFrame:CrystalReport:WindowShowExportBtn = FALSE.
chCtrlFrame:CrystalReport:WindowTitle = pcReportTitle.
chCtrlFrame:CrystalReportestination = rsPrinter.
chCtrlFrame:CrystalReport:CopiesToPrinter = F-NumberCopies.
chCtrlFrame:CrystalReportrinterStartPage = R-PageBeg.
chCtrlFrame:CrystalReportrinterStopPage = R-PageEnd.
chCtrlFrame:CrystalReportrintFileName = R-OutputFile.
chCtrlFrame:CrystalReportrintReport.
----
When i run this piece of code nothing happens!, no error message,
i don't know where is the error, what is missing.
please if somebody can tell me.
GBE!
Olive.