Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to open .db table?

Posted on 2004-04-25
8
873 Views
Last Modified: 2010-05-18
I have a table - created in Delphi.
clients.db

I do not have delphi in my pc, and I would like to open it. I tried using excel, access, word...Did not work.

How do I open that table? I have SQL Server...

OS: Windows XP

Thanks
0
Comment
Question by:neonlights
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 17

Expert Comment

by:mokule
ID: 10913839
0
 
LVL 11

Accepted Solution

by:
shaneholmes earned 500 total points
ID: 10914293
Here is a program by Sergey S. Tkachenko.

Originally Written in Delphi.

Nice little App.

I have included an example DB file

I have also included the Delphi Source code - case your  interested.

http://www.geocities.com/ielite_ielite/projects/tableopener.zip

Shane
0
 
LVL 1

Expert Comment

by:tanghz
ID: 10914397
You can import the that database by ACCESS without any other software
Step:
1 Open ACCESS, create a new database named any names you like.
2. Right click the mouse botton on the upper-left pannel and selef import
3. Change the 'file types' to 'Paradox (.db)'
4. Select your .db file.
5 you shuld be able to read that db data in ACCESS database table now.


Good luck
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:neonlights
ID: 10920547
Hi mokule
Your site is not working. I tried, ftp is doing nothing, and http: is saying that forbiden:

Tanghz: I tried and it says that expected format is incorrect. It is paradox 4 since I opened this file using shaneholmes site:

shaneholmes: Your suggested program is good, and I can view the tables. good start. But, one more question for you: how do I copy or bring to the access table, so that I can use those  records....Any suggestion.
bye the way: the file is paradox 4.

Thanks all for your help
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10920696
neonlights,

The original question didn't include that functionality, In the future, you need to open a separate thread for additional questions, or make sure you add that functionality or question into your original thread (question).

<SMILE>

Here are the Steps:

You will need to add functionality to the code to open up a Access Table and prepare it to have records inserted.
you can add to the code I sent you,  to interate through the paradox table and add each record to your access table.

Note the Access table must have same structure (fields)

WHat version of delphi are you using?
What is the intended OS the app wil be run on?


Off the top of my head, something as:

Table1 (Paradox)
Table2 (ACCESS)

Table1.First;
while not Table1.EOF do
begin
 Table2.Insert;
 Table2.FieldByName('Field1').asString:=   Table1.FieldByName('Field1').asString;
 //all the other fields here
 Table2.Post;
 Table1.Next;
end;


Note, if you dont have an access table, you can create one by code:

How to create an MS Access database without the MS Access
http://delphi.about.com/library/weekly/aa072401b.htm


Shane
0
 
LVL 1

Expert Comment

by:tanghz
ID: 10923441
Which version of the ACCESS you are using. If you are using ACCESS XP or 2003, there should not be a problem. ACCESS can do the paradox from 3 to 7.

Maybe the Paradox table is not healthy.
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10933763
neonlights, r u still having trouble

Shane
0
 

Author Comment

by:neonlights
ID: 10945731
HI shaneholmes, I am sorry that I was not able to test it yet, I do not have delphi program in my pc. So.

I will try that later. Thanks for your help.

Hi tanghz, I have access 97. Windows XP.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE10, DigitalPersona Fingerprint reader and MySQL 6 320
delphi exception 7 68
Create Database on Android via Delphi dbExpress 3 108
Downloading email attachments 2 79
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

790 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