My Assistant
![]() ![]() |
|
|
Sep 22 2011, 02:40 AM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 90 |
How can I programatically set the datasource of a crystal report to a different SQLServer database using vb.net? For instance, my report currently gets its data from a database on Machine1 whose connection string is:
"Data Source=Machine1\SQLEXPRESS;Initial Catalog=MODDb;User ID=sa" but now would wish it to change to a similar database but on machine2: "Data Source=Machine2\SQLEXPRESS;Initial Catalog=MODDb;User ID=sa" Any help? or links to sample code. Phillip. |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 18th May 2013 - 08:51 AM |