Sorry Folks I cracked it shortly after. Isn't that always the way. The solution for those who need it is
CrystalReport1.Connect = "DSN=NewServer; UID=UID; PWD=PWD; DSQ=NewTable;"
I thought that DSN= was only for ODBC but it also works with SQL. I hope this helps somebody else...
Hi all
I have a problem moving reports between servers. I need to be able to tell a report which SQL server and database to log onto through code. I know that I can set the loaction while writing the report but I need to be able to send these reports to people who have absolutely no technical...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.