Ttable and Txt files

I need to load a comma seperated file into a Ttable. How Must me Txt file look like ??.

I have tried using both Comma,Simicolon and Tabs, but it still loads all the text into one field.

an Example of the text file would be nice


kwang080897Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PeterLarsenCommented:
I think it would be faster to load the text into a TStringList (TStringList.CommaText) and then insert the text in your database in a loop.

Just an idea !!

Peter

0
edeyCommented:
If you really want to use a database drive with you .txt file, here is the borland TI explaining the ascii driver:

http://community.borland.com/article/0,1410,15892,00.html

there is also a TI on converting ascii files to paradox:

http://community.borland.com/article/0,1410,16960,00.html

GL
Mike
0
kwang080897Author Commented:
Peter:

You might be right - but my custumor need the other sollution.

Mike:

Thans, Just what I Needed, please submit an answer

Kim
0
edeyCommented:
Glad to be of service :)

GL
Mike
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.