Mario, it's not a stupid question. But you do need to understand the difference between the different types of files.
First, a FoxPro
table (what you have been referring to as a
database) consists of one, two or three files. One of them is always a DBF file. Then there might be an index file, which is a CDX. And there might be a file to hold memo fields as well as images and certain other "objects"; that is a FPT. If you have embedded images, then the FPT must be present. These files always go together. If the CDX or FTP exists, it must be present in order to open the table.
A TXT file is quite different. This is a plain text file. It has nothing to do with databases or tables. It can only hold text, never images.
It is not at all clear to us what kind of files you have or what they contain. That's why we suggested that you upload them to the forum so that we can examine them. (But don't do that if they contain private or confidential information.)
In the case of the TXT file, if you can open it in a text editor, such as Notepad, you could try copying the text and pasting it into a forum message. But if it is more than, say, a dozen or so lines of text, don't paste the whole thing - just a representative sample.
I hope this helps.
CORRECTION: For FTP, read FPT. Now corrected (and thanks to Griff for pointing it out).
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads