Solved

ApplyLogOnInfo Method of Table Object

Posted on 2003-11-05
3
222 Views
Last Modified: 2010-04-16
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
Comment
Question by:sherrymks
3 Comments
 
LVL 20

Accepted Solution

by:
TheAvenger earned 50 total points
ID: 9692712
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now