MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old March 21st, 2004, 02:26 AM
johan degraeve johan degraeve is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 9 johan degraeve User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Choose SQL-server BEFORE starting access

Hi there,

We somentimes need to logon to server1 and sometimes to server2. Because the access-project starts with the search for the last server logged onto, it takes a while before you can change the connection.

Is there a way to change the connection-string BEFORE access starts trying to find the server?

thanks a lot to answer this!

Johan

Reply With Quote
  #2  
Old March 24th, 2004, 06:27 AM
johan degraeve johan degraeve is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 9 johan degraeve User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can somebody please reply on this?

Reply With Quote
  #3  
Old March 24th, 2004, 10:34 AM
golandsh golandsh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 3 golandsh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can you explain more precisley?
it happens at the start of the application?
can it be because the connection object is open at design time? i had similar problems and checking the connect status before compiling always worked.

Reply With Quote
  #4  
Old March 24th, 2004, 06:55 PM
sypher sypher is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Montreal
Posts: 92 sypher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 10 sec
Reputation Power: 5
from memory...you can start access with a macro that can tell Access which server you want to connect

or
can you just do 2 DB?
do you have any auto-execute macro?
can you use a ODBC data source? this way if you need to ajust for you another server just edit the data source

Reply With Quote
  #5  
Old April 5th, 2004, 04:41 PM
johan degraeve johan degraeve is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 9 johan degraeve User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
access searches for server during startup

Quote:
Originally Posted by golandsh
Can you explain more precisley?
it happens at the start of the application?
can it be because the connection object is open at design time? i had similar problems and checking the connect status before compiling always worked.


The connection is open at design time, Access always searches for the last server connected to, it seems there is no way to tell access not to look for a server connection, or is there. Sorry for the late reply, have been on travel, thanks though.

Reply With Quote
  #6  
Old April 5th, 2004, 04:46 PM
johan degraeve johan degraeve is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 9 johan degraeve User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by sypher
from memory...you can start access with a macro that can tell Access which server you want to connect

or
can you just do 2 DB?
do you have any auto-execute macro?
can you use a ODBC data source? this way if you need to ajust for you another server just edit the data source


does this macro have a special name?

or
indeed, I can do 2 Db, seems the only solution, a bit primitive though.
Can do a ODBC data source, but still, access always first starts and only then it is possible to edit the data source and change it, it works but it takes the standard time-out time (30 seconds) , which looks like a century.

If there is a ini or register that can be set for access just telling the program NOT to search for a connection, it would be the solution...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > Choose SQL-server BEFORE starting access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway