Solved

Poll a SQL Server

Posted on 2000-02-23
2
180 Views
Last Modified: 2011-09-20
Hi,
I haven't hunted around the PAQs, sorry if this question was recently asked, I'm new to the VB topic area.
I'm trying to figure out how to poll the SQL Server for databases.  I
want to display the databases in a dropdown.
TIA, kay
0
Comment
Question by:kcduncan
2 Comments
 

Accepted Solution

by:
mathewss earned 100 total points
ID: 2553397
Create a query that does a "select name from sysobjects where type='U'" this will return a result set of the users tables (not system)

 Other types
 S=System Object
 P=Procedure
 TR=Trigger
 K=Key/Index

 Hope this helps...
0
 

Author Comment

by:kcduncan
ID: 2601949
I asked on behalf of a friend and he said the answer was over his head (I guess maybe more details would have helped??), but he was able to find some answers elsewhere.  Thanks.
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DIR issue 7 54
Need VBS version of Excel date conversion 4 71
Cannot enter table caption text in Word protected document 6 126
vb6 connector to SQL Server 2 37
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

821 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