Solved

Getting list of tables from a database

Posted on 2000-05-02
2
115 Views
Last Modified: 2010-04-04
How do I get the list of tables from a database?
0
Comment
Question by:bcoleman
2 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
ID: 2770707
See the TSession.GetTableNames method. This method will fill a pre-existing string list object with the names of the tables in the database specified in the DatabaseName argument.
 
  Session.GetTableNames('DBDEMOS', '*.db', True, False, ListBox1.Items);
 
The DatabaseName property can be the name of a BDE alias, a string containing a driver/directory (local table types, only), or the value in the DatabaseName property of a properly connected TDatabase component.
0
 
LVL 1

Author Comment

by:bcoleman
ID: 2770863
Thanks for the help!!!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

759 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now