Solved

Checking whether db table exists

Posted on 1998-11-24
1
197 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 303
Working this component WebCopy with proxy, help 3 84
Delphi selector screen 2 79
Working with hours 3 57
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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