I can get the following Logon line to execute ok with a report that was done in ODBC with the following:
Dim crystalApplication As CRPEAuto.Application
Dim crystalReport As CRPEAuto.Report
Set crystalApplication = CreateObject("Crystal.CRPE.Application"
Call crystalApplication.LogOnServer("P2SODBC.DLL", "Oracle 8", "ServerA", m_sUsername, m_sPassword)
(where "Oracle 8" is the name of the ODBC, "ServerA" is the Oracle server name.)
but I can not get an OLE-made report to get past this line:
Call crystalApplication.LogOnServer("P2SOLEDB.DLL", "ServerA", , m_sUsername, m_sPassword)
Is it possible to have both types of reports to work in the same manner as I'm trying? I like using this method because it's giving me full control of the print properties - *including* orientation!
Thanks
Dim crystalApplication As CRPEAuto.Application
Dim crystalReport As CRPEAuto.Report
Set crystalApplication = CreateObject("Crystal.CRPE.Application"
Call crystalApplication.LogOnServer("P2SODBC.DLL", "Oracle 8", "ServerA", m_sUsername, m_sPassword)
(where "Oracle 8" is the name of the ODBC, "ServerA" is the Oracle server name.)
but I can not get an OLE-made report to get past this line:
Call crystalApplication.LogOnServer("P2SOLEDB.DLL", "ServerA", , m_sUsername, m_sPassword)
Is it possible to have both types of reports to work in the same manner as I'm trying? I like using this method because it's giving me full control of the print properties - *including* orientation!
Thanks