Solved

Checking whether db table exists

Posted on 1998-11-24
1
198 Views
Last Modified: 2010-04-04
Could someone tell me the easiest way in code to check whether a database table file exists or not. Thanks
0
Comment
Question by:cavalry
1 Comment
 
LVL 3

Accepted Solution

by:
Matvey earned 10 total points
ID: 1347805
You can check the file availability with FileExists( 'file.db' ).

You can also try to open in in a TTable, and if you get an error, then you can know that it doesn't exist.

--Matvey
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to convert wav to mp3 in delphi 9 219
How to disable mouse scroll in a combo box field within a Delphi cxGrid 4 158
Printing problem 2 101
find a node in VST 2 70
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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