Discussion Locked

file conversion

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I read a text file or a cobol database from a paradox file using a delphi app?

11 replies

by parier

A macro will automatically export the information you want to what ever Microsoft application you want. See Help on Micros and/or exporting data.

Hope this helps!

by rayval

If you are going to make a program from delphi then you can use the low-level read() function or from a Form add a memo component and issue one of its method the LoadFromFile().

But maybe you could re-phrase your question. Is it "read from a textfile or cobol database to a paaradox file"?

by aon

You have two ways of doing this (a) Using the TTextFile object, or (b) Using a TFileStream. Because it is a cobol file it most likely has a particular file format, therefore you need to determine the format / record types contained in the file, and then use (best) TFileStream to read it into your Paradox table. If you need further explanation let me know. - Al.

This discussion is closed to new replies.