Articles   Members Online:
-Article/Tip Search
-News Group Search over 21 Million news group articles.
-Delphi/Pascal
-CBuilder/C++
-C#Builder/C#
-JBuilder/Java
-Kylix
Member Area
-Home
-Account Center
-Top 10 NEW!!
-Submit Article/Tip
-Forums Upgraded!!
-My Articles
-Edit Information
-Login/Logout
-Become a Member
-Why sign up!
-Newsletter
-Chat Online!
-Indexes NEW!!
Employment
-Build your resume
-Find a job
-Post a job
-Resume Search
Contacts
-Contacts
-Feedbacks
-Link to us
-Privacy/Disclaimer
Embarcadero
Visit Embarcadero
Embarcadero Community
JEDI
Links
How to convert a Paradox table to a fixed length ASCII table Turn on/off line numbers in source code. Switch to Orginial background IDE or DSP color Comment or reply to this aritlce/tip for discussion. Bookmark this article to my favorite article(s). Print this article
28-Aug-02
Category
Database Others
Language
Delphi All Versions
Views
72
User Rating
No Votes
# Votes
0
Replies
0
Publisher:
DSP, Administrator
Reference URL:
DKB
			Author: Tomas Rutkauskas 

How to convert a Paradox table to a fixed length ASCII table

Answer:
1   
2   procedure TForm1.Button1Click(Sender: TObject);
3   var
4     t1, t2: TTable; {t1 = PW table; t2 = ASCII version}
5   begin
6     t1 := TTable.create(self);
7     with t1 do
8     begin
9       DataBaseName := 'pw'; { Personal Alias for Paradox Directory }
10      tableName := 'customer.db'; { Source Table }
11      open;
12    end;
13    t2 := TTable.create(self);
14    with t2 do
15    begin
16      DataBaseName := 'pw'; { Personal Alias for Paradox Directory }
17      tableName := 'asdf.txt';
18      TableType := ttASCII;
19      createTable;
20      open;
21      edit;
22      BatchMove(t1, batCopy);
23      close;
24    end;
25    t1.close;
26  end;


			
Vote: How useful do you find this Article/Tip?
Bad Excellent
1 2 3 4 5 6 7 8 9 10

 

Advertisement
Share this page
Advertisement
Download from Google

Copyright © Mendozi Enterprises LLC