Read a Text File and Write to a Dbase file

Help

I am a newcomer to Delhi (using Delphi 5) and I would like to know how I can
open a text file with fixed length records,
read the fields and then write the data into a Dbase file. I currently
have the code written to sequentially process the text file but I am at a
loss as to how to open the dbase file, write to the required fields and then
return to the text file to process the next record (in other words how to
switch between the two files).  Any help on this would
be greatly appreciated.

Alan Bell (belalan @cam.org)