Can anybody help me with this, I am trying to open a .mdb file and then dump the contents of the tables into a text file, but only selected tables.

At the moment all I can do is open the table and save the last entry to the file. I have tried to go back to the start and then loop throught the DB until i reach the EOF. But again i get one good record and then the rest result in junk charactures.

Any pointers or example code would be a great help