Almost all .dbf files that I have seen are tab delimited with carriage returns to delimit the fields.
If it is saved as a .txt file, it should open directly into a spreadsheet (at least Excel and/or AppleWorks).
If you have a relatively new version of Excel, the “Wizard” should be able to step you through if the original database used something else like commas or “pipes”.
If, (shutter), the .txt file left you with a space delimited document, try running it through a word processor. Substitute (in the Find/Replace window) one space for each double space. Do it over and over until it tells you it cannot find any more. Then substitute a “tab” character (^t or \t) for each remaining single space character.
when I try to open the .txt file it opens a word processor instead of a spreadsheet.
I just reread your original post. If you launch the spreadsheet first, then use your menu to OPEN instead of double clicking the .txt file, that ought to do it.