Solved

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

Posted on 2003-11-25
4
304 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
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 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