Solved

Change the location of a DB in a report of CR 8

Posted on 2001-08-05
7
148 Views
Last Modified: 2010-05-02
How can I change the location of a database in a Report of CR 8.5 at runtime?
0
Comment
Question by:macob
  • 3
  • 2
  • 2
7 Comments
 
LVL 12

Expert Comment

by:roverm
ID: 6352928
Two ways:

First:
You can use a DSN.
Create one in your control panel (or admin tools in w2k) and let CR connect to that.
If your path changes, just alter the DSN.

Second:
Build a connect string dynamicly and let CR connect to that string.
You can read the location of the db from the registry or let the user input it.

I prefer using the DSN.

D'Mzzl!
RoverM
0
 

Author Comment

by:macob
ID: 6354343
Could you give me an example of how to make both?
I'll upgrade to 100 points
0
 

Author Comment

by:macob
ID: 6369116
any help?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 12

Expert Comment

by:roverm
ID: 6370120
Sorry, didn't have much time lately...

I can give you an example for DataReport.
As far as I remember (I don't use CR anymore !) it worked approx. the same.
Is that ok with you ?

D'Mzzl!
RoverM
0
 
LVL 12

Accepted Solution

by:
roverm earned 100 total points
ID: 6419690
macob:
Is your problem solved ?
Can I help you any further ?

D'Mzzl!
RoverM
0
 
LVL 3

Expert Comment

by:modder
ID: 6452479
macob,

I believe roverm gave you a solution to your problem. I see that you were looking to delete this question.

If roverm's suggestions didn't solve your problem, can you tell us why? Otherwise I think it would be appropriate to accept roverm's comments.

modder
Community Support Admin
0
 
LVL 3

Expert Comment

by:modder
ID: 6484773
Force-Accepted

modder
community Support
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

706 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

17 Experts available now in Live!

Get 1:1 Help Now