[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

Change Text file into Paradox Table

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
apin
Asked:
apin
  • 6
  • 2
  • 2
1 Solution
 
ZifNabCommented:
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
 
ZifNabCommented:
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
 
ronit051397Commented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ZifNabCommented:
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
 
ronit051397Commented:
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
 
ZifNabCommented:
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
 
apinAuthor Commented:
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
 
ZifNabCommented:
it's on your way.
0
 
apinAuthor Commented:
I've receive the email dan I'm satisfied with the solution. Thanks to Mr. Zifnab.

May God Bless you !
apin


0
 
ZifNabCommented:
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 6
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now