cancel
Showing results for 
Search instead for 
Did you mean: 

Report lose information after change IP

0 Kudos

Hi SAP users, is a pleasure ask to you...in many times you help me to solve problems.

This time a have a situation:

I have a report and works fine. The problem is, I have to change the report for the proyect, and when the IP is changed, the report not works.

I understand that happens when I do the report by direct connect in Visual Studio.

Then, my question is: How can I avoid that issue of changing ip? I ask, because when use MySQL with the Crystal Report, the only way that the report functions to me, is by query String.

Thank you so much for your help, have a nice day.

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

Instead of hard-coding the data connection, you need to set it in your code, possibly based on information in a config file that contains the information about what data connection to use.

For examples of code for setting up the data connection, you can see the code attached to this blog: https://blogs.sap.com/2016/02/17/how-to-parameters-in-crystal-reports-for-visual-studio-net/

-Dell

Answers (0)