lw0110
March 6th, 2006, 03:45 AM
I'm working on a c#.NET application that uses crystal reports.
How can I make crystal reports refer to the current folder for the database ? the problem that I'm facing is as follows:
during development of the application I specify the database location whenever I create a new report e.g. D:\myProject\mydatabase.mdb
after that I created a deployment project but whenever I install the software to another machine it keeps on refering to the old path that I specify during development although I kept the database in the same folder both during development as well as in the user's application folder.
How can I make a crystal report refer to the current folder as a relative path and not taking the full path?
I have done everything I possibly could but unfortunately I couldn't get any positive solutions. I've asked professionals, I've looked online, I've searched the forums no one could help out. Any help from your side would be appreciated even if you are not sure about your answer any suggestions would also be useful.
Thanks!
How can I make crystal reports refer to the current folder for the database ? the problem that I'm facing is as follows:
during development of the application I specify the database location whenever I create a new report e.g. D:\myProject\mydatabase.mdb
after that I created a deployment project but whenever I install the software to another machine it keeps on refering to the old path that I specify during development although I kept the database in the same folder both during development as well as in the user's application folder.
How can I make a crystal report refer to the current folder as a relative path and not taking the full path?
I have done everything I possibly could but unfortunately I couldn't get any positive solutions. I've asked professionals, I've looked online, I've searched the forums no one could help out. Any help from your side would be appreciated even if you are not sure about your answer any suggestions would also be useful.
Thanks!