Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2014, 05:28 PM
macropod's Avatar
macropod macropod is offline What SQL server and databases are open? Windows 7 32bit What SQL server and databases are open? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,518
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default


IMHO, you're going about this the wrong way. If the SQL is supposed to work with a particular database, the code should used a fully-qualified database name; not simply work with whatever 'production' database the user has open.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 03-02-2014, 05:41 PM
donaldadams1951 donaldadams1951 is offline What SQL server and databases are open? Windows XP What SQL server and databases are open? Office 2010 32bit
Advanced Beginner
What SQL server and databases are open?
 
Join Date: Dec 2013
Location: San Francisco Bay Area
Posts: 37
donaldadams1951 is on a distinguished road
Default I appreciate the concern but...

Is it possible to find the "open" databases and the server on which they reside with VBA? If so how?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
What SQL server and databases are open? Formula to open external file with specific program (like open with) pemartins Excel 16 02-24-2014 11:39 PM
What SQL server and databases are open? Save in SERVER instead. zuzullo Outlook 3 09-08-2011 12:34 AM
unable to open .RTF files in server machine from client machine Naresh_1210 Word 0 03-12-2010 03:26 AM
Exchange Server. Do I need it? SRE Outlook 1 01-11-2010 06:36 PM
Can I use one VERY big server for everything ? RickH Project 0 12-15-2005 08:22 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft