X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Datasource Of A Crystal Report, Any Version    
post Sep 22 2011, 02:40 AM
Post #1

UtterAccess Enthusiast
Posts: 91

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.
Go to the top of the page

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:

RSS Search  ·  Go to Top  ·  Lo-Fi Version Time is now: 31st July 2014 - 06:39 PM