I am looking for ideas on how to copy the text from a text file and insert the entire text of that file into a memo field.
I am working on a document retrieval database. Each document has a document number. I have a record in the database for each document with a document number field containing that unique document number. The text file containing the text of that document is named XXX.txt where XXX is the document number.
I need to some up with some type of routine that can be called with the document number and go open that file, read the entire file of text data and copy that data into the memo field which is named Text of Story.
To build on that would be something that can be batch run with a condition or query of Processing Stage <= 500. I have several steps involved and each step has a number. I only want to process this for entries that have not already been processed for this stage which is identified by a Process Stage less than the number of this step which for now say is 500
Thank you in advance for any suggestions or code snippets.
Harry