Jump to content
Sign in to follow this  
Vernon

Call an External Text File from a Memo Field

Recommended Posts

I'm having a problem with calling and external text file from a memo field. I am following the description listed in the help section as listed below but with no success. The text example is printed out in the narrative report. Any suggestions to solve the problem please.

 

Vernon

 

In addition to text entered into Memo fields within the program, you can store a memo in an external text file that can be called from the memo field. Such text will be used when a report is generated just as though it had been entered directly into the memo field. To use text from an external file, an exclamation point must be the first character in the memo field, followed by the drive, path and name of the text file.

 

For example: !C:\MYDATA\ABC.TXT

Share this post


Link to post
Share on other sites

Hi Vernon,

 

I am having no problem with this. Perhaps it is not the text file, but how you are choosing to output the Memo text itself? Does the sentence for that tag include the [M] memo variable? If not, what have you chosen as the Report Options on the Memos tab for the output of memos which are not included in the sentence? Perhaps your options are set to not include the memo, thus it is not being output?

 

Hope this gives you ideas,

Share this post


Link to post
Share on other sites
Hi Vernon,

 

I am having no problem with this. Perhaps it is not the text file, but how you are choosing to output the Memo text itself? Does the sentence for that tag include the [M] memo variable? If not, what have you chosen as the Report Options on the Memos tab for the output of memos which are not included in the sentence? Perhaps your options are set to not include the memo, thus it is not being output?

 

Hope this gives you ideas,

 

 

Hi there Micheal

 

Thank you for your reply. I am creating an individual narrative report. The [M] memo variable is included correctly in the tag entry sentence and works correctly for any text when it is included in the Memo. I have tried just in case all the options within the Memo report settings without success. It appears as if the program is not "calling" the text file or maybe it is unable to find the location of the file. I am an experienced computer user and have tried text files produced by Word Notepad and Wordpad etc located in different folders without success. Also no error warnings have appeared. I'm hoping others might respond to my problem. Thanks again for your response.

 

Vernon

Share this post


Link to post
Share on other sites

The text calling the external text file should be the only text in the memo field. IOW... You can't embed that call in other memo text. I just tested this and it worked so there is no issue with the basic mechanism. The external text could be edited from the expanded memo field and the external text appeared in a Individual Narrative. If the path is the only text in the memo, please post the path so that I can check something equivalent.

Share this post


Link to post
Share on other sites

Thank you for the replies. Problem is now solved. Some time ago I had to do a complete computer restore which turned out to be rather complicated resulting in the drives being renamed i.e. C: drive became D(C:) drive and D: drive became C(D:). I am aware that you can rename drives other than the root drive easily but some research indicated that with the proper software renaming the root drive could be fraught with problems and I decided to let well alone. From the TMG help "Access folders" TMG show all the files as being located on the D: when they are in fact installed on the C:drive. I was aware of this and tried what I thought were all the combinations of file folder locations and the calling statement but without success. I obviously did not do a very good job because I now have the calling statement and the file location correctly synchonised.

Thanks to the forum for the prompt help

 

Vernon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×