Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

ApplyLogOnInfo Method of Table Object

I have designed a report in Crystal reports 7
I want to connectthis report to different SQL server database sometimes even the server may be different
when I tried the ApplyLogonInfo method it works when the server changes. But when tha name of database changes I have to use the setLocation() Method
I am little bit confused of this behaviour
can anybody suggest the best way to do this
0
sherrymks
Asked:
sherrymks
1 Solution
 
TheAvengerCommented:
Look at my comment and code on this topic:

http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_20734499.html

You will see the database changed here.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now