In Crystal, the DSN name (and the printer name) is actually saved in the report.
So, you will have to figure out a way to override this behavior.

I am only familiar with using the API methods of calling crystal reports..  I
think we got around this behavior by using the PESetPrivateInfo function or some
variation of it.  There is also a PESetServer(?) type of function which may get
you what you need.

Good Luck
Brian




Hi Friends

I have created an application in PB 6.0. The back end can be MS SQL Server 6.5
or MS Access 7.0. For reports we are using crystal report 5.0.

I have created two Data Source Names DSN_Sql and  DSN_Access for accessing the
databases in MS SQL Server 6.5 and MS Access respectively. I have created a
report using DSN_Sql  dsn. This report is called in Powerbuilder ( through OCX
control).

When a application is running on SQL Server, the report shows correct data,
but if application is running on MS Access database, the data is not shown
properly.

Can anybody help me to find what is the problem.

Laxmikant Kesti




____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]




> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to