Troy
Well-known member
- Joined
- Feb 7, 2005
- Messages
- 153
- Programming Experience
- 10+
Hello everyone.
I know there are numerous listing here on people having this trouble but After reading through several I am even more confused than ever.
I have no problems generating and changing fields for my Crystal Reports in VB 2005.
However I need to change the Database location programmatically. The wizard works great for generating a form and I can create one by binding my Database to it. But My program is setup to allow my clients to select the Database they wish to work with and that means it's not in the same location all the time. So I need to change the Crystal Reports Database Location.
I'm a bit confused on where to find the code thats telling the form to use my database to populate it to begin with.
I've Looked throught the CrystalReports1.vb file and I don't see anywhere, where it calls for my Database Path. So where do I find it to alter it?
or how can I take an already created form CrystalReport1.rpt and have it work with the currently selected Database not the one that generated the form to begin with.
Thankyou for any help offered.
I know there are numerous listing here on people having this trouble but After reading through several I am even more confused than ever.
I have no problems generating and changing fields for my Crystal Reports in VB 2005.
However I need to change the Database location programmatically. The wizard works great for generating a form and I can create one by binding my Database to it. But My program is setup to allow my clients to select the Database they wish to work with and that means it's not in the same location all the time. So I need to change the Crystal Reports Database Location.
I'm a bit confused on where to find the code thats telling the form to use my database to populate it to begin with.
I've Looked throught the CrystalReports1.vb file and I don't see anywhere, where it calls for my Database Path. So where do I find it to alter it?
or how can I take an already created form CrystalReport1.rpt and have it work with the currently selected Database not the one that generated the form to begin with.
Thankyou for any help offered.