I need to establish a means of exporting and importing from a database to a file type that is easily transferred (be it via floppy disk or via e-mail).
For this reason my first thought has been to make use of tab-delimited text files.
I am comfortable (following a refresh of my memory) or reading / writing to a text file but have not dealt with the use of ‘Tab’ characters in text files.
This begs a few questions to get me off the ground with it :
- How do I insert a ‘Tab’ character in a text document (assuming I’d writing line by line).
- How do I recognise a ‘Tab’ character whilst reading the text file (as created above).
- Assuming I can write and read ‘Tab’ characters can I also update / edit this text file format such that I append a further ‘Tab’ character and a ‘Posted’ flag at the end of the appropriate lines (such that when re-reading I can establish those entries that have already been dealt with / posted to the target database).
Any thoughts on the above would be greatly appreciated.
Alternatively is a better option to make use of MS Excel to export out of my source database and then import into my target ?
Would this make my life easier ?
Thanks in advance
Steve
For this reason my first thought has been to make use of tab-delimited text files.
I am comfortable (following a refresh of my memory) or reading / writing to a text file but have not dealt with the use of ‘Tab’ characters in text files.
This begs a few questions to get me off the ground with it :
- How do I insert a ‘Tab’ character in a text document (assuming I’d writing line by line).
- How do I recognise a ‘Tab’ character whilst reading the text file (as created above).
- Assuming I can write and read ‘Tab’ characters can I also update / edit this text file format such that I append a further ‘Tab’ character and a ‘Posted’ flag at the end of the appropriate lines (such that when re-reading I can establish those entries that have already been dealt with / posted to the target database).
Any thoughts on the above would be greatly appreciated.
Alternatively is a better option to make use of MS Excel to export out of my source database and then import into my target ?
Would this make my life easier ?
Thanks in advance
Steve