Set database location path problem (OCX) (C++) 
Author Message
 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.

Tue, 05 Nov 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Problems setting database location at runtime.

2. Set Location Problem to differenct database using ODBC

3. Problems setting report database location

4. Setting path to location of current mdb file

5. Crystal 4.6 set database location - same as database

6. Path problem when printing to other location

7. A problem with ocx written in visual c++ only in vb (oca problem)

8. Setting default export path using Crystal32.ocx

9. setting adodc database location runtime

10. Setting database location at runtime

11. Set Database Location For CR8 in VB6

12. crystal reports- setting database location


Powered by phpBB® Forum Software