I am trying to display the contents of a text file in a scrolling text box on a form. I dont want to store the text in the database, just link it to a record and have it display in the form if the user wants while viewing the associated record.
This was my original approach, but I couldnt get it to work...
I have a bound OLE Frame on my form called "MyFrame" with its control source a table field. I have a command button that prompts the user to link the .txt file to the OLE field using insert object. I have a text box called "FinalDestination" and a command button called "ViewText" that has code Me![FinalDestination] = Me![MyFrame] in its on click event.
I get text in the text box but it contains a bunch of unreadable characters. The only readable text seems to be the file name, an icon file and "courier".
How can I get just the contents of the text file.
I would greatly appreciate any help.
Thanks
This was my original approach, but I couldnt get it to work...
I have a bound OLE Frame on my form called "MyFrame" with its control source a table field. I have a command button that prompts the user to link the .txt file to the OLE field using insert object. I have a text box called "FinalDestination" and a command button called "ViewText" that has code Me![FinalDestination] = Me![MyFrame] in its on click event.
I get text in the text box but it contains a bunch of unreadable characters. The only readable text seems to be the file name, an icon file and "courier".
How can I get just the contents of the text file.
I would greatly appreciate any help.
Thanks