
Set database location path problem (OCX) (C++)
I had a strange problem with changing DB location for a report (OCX) in my
C++ program...
// I did:
CCrystalCtrl Report;
Report.SetReportFileName( ... );
Report.SetDataFiles( 0, csNewDBPath ); // But that had no effect???
// And i tried:
Report.SetLogonInfo( 0, "dsn=" + csNewDBPath ); // And this worked OK!
Perhaps, this help you too.