Srdjan
15-Sep-2005, 06:09 AM
Hi everyone
This problem is a bit confusing for me
Few weeks ago, we've started to use Crystal Report 11
For procedure testing, we MUST change
database name and server name,
To avoid recompile all reports, we are changing connect properties
from application with following code:
Crpe1.ReportName := OpenDialog1.FileName;
Crpe1.DiscardSavedData;
Crpe1.Connect.ServerName := 'SERVER';
Crpe1.Connect.DatabaseName := 'Sales';
Crpe1.Connect.UserID := 'Marta';
...
..
. etc
Code above does not work with MS SQL 2000,
Again, results are from original database
On the Internet, I couldn't find any text about this problem
Is there solutions for this
Thanx
Srdjan
This problem is a bit confusing for me
Few weeks ago, we've started to use Crystal Report 11
For procedure testing, we MUST change
database name and server name,
To avoid recompile all reports, we are changing connect properties
from application with following code:
Crpe1.ReportName := OpenDialog1.FileName;
Crpe1.DiscardSavedData;
Crpe1.Connect.ServerName := 'SERVER';
Crpe1.Connect.DatabaseName := 'Sales';
Crpe1.Connect.UserID := 'Marta';
...
..
. etc
Code above does not work with MS SQL 2000,
Again, results are from original database
On the Internet, I couldn't find any text about this problem
Is there solutions for this
Thanx
Srdjan