Solved

How to change VB data Environment Initial catalog (Default Database)

Posted on 2003-11-25
4
309 Views
Last Modified: 2013-12-25
Hi

I am facing problem with data environment. I want to change the default database property which is used by the data environment's connection dinamically. I have added some commands to that connection which are record sourse to some reports. But On some condition i want to change the default database property to some other database which is on the same server to fetch records.

Any help would be highly appreciated.
0
Comment
Question by:indian_vb_dev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 29

Accepted Solution

by:
leonstryker earned 25 total points
ID: 9817916
0
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 25 total points
ID: 9819532
Check the connect string for the connection object used within the Data Designer.  You can change it and reset the designer.
0
 
LVL 1

Expert Comment

by:ayufans
ID: 10512125
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points split between leonstryker and TheLearnedOne

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

ayufans
Cleanup Volunteer
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

707 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