Solved

Change Text file into Paradox Table

Posted on 1999-01-06
10
186 Views
Last Modified: 2010-04-04
Dear Experts, Happy New Year 1999 !
      Please tell me how to change the Text file into Paradox Table.

      < This Text file is created by Foxpro DOS >
      USE Table1
      COPY TO Table1.txt DELIMITED WITH BLANK

Thanks from apin for your help
0
Comment
Question by:apin
  • 6
  • 2
  • 2
10 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1354947
Hi apin,

I got some source-code which will do this for you... In this one you can give your custom delimitor. If yuo give your email address I'll send it right away.

Regards, Zif.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1354948
I can't paste it in here, it's about 770 lines... In the sample code I've here, you can select your text-file and determine your delimitor.....and push button... rest is automatically produced.
0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1354949
please show some few records from the text file, and also tell me which type of fields you want to be created in paradox.
Ronit,
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1354950
Hi ronit, the beauty of the source-code is : It doesn't need to know which type of fields it needs.... Handy isn't it?
0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1354951
In order to automatically determine the type of each field, you must scan all the text file, and analyse it, meaning, Low performance, besides, the developer might want to define his own types, for example a numeric field as character, because maybe he wants to sort the records in that field differently:
1
11
2
instead of
1
2
11

Ronit,
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 8

Expert Comment

by:ZifNab
ID: 1354952
the demo, only searches a few lines. From these it decides the best fit. Then it shows which are used... It's easy to change the fields then.

But we 're still waiting on apin response... Seems that he didn't needed to know this very quickly.
0
 

Author Comment

by:apin
ID: 1354953
Thanks a lot for Mr. Zifnab, please send me the solution, and my email is : pc@starindo.net and pc@melsa.net.id.

By the way, I am really need to know this solution very very quickly.

Best regard,
apin


0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1354954
it's on your way.
0
 

Author Comment

by:apin
ID: 1354955
I've receive the email dan I'm satisfied with the solution. Thanks to Mr. Zifnab.

May God Bless you !
apin


0
 
LVL 8

Accepted Solution

by:
ZifNab earned 50 total points
ID: 1354956
Hi apin,

just say ZifNab or Tom that's enough. Mr. is great, but it feels so...

Glad it can help you. Have fun with it

Regards, Zif.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

23 Experts available now in Live!

Get 1:1 Help Now