Is it possible in LiveCycle designer ( v9 ) to create a button on an Form that will Open a text file, Read its contents into a variable ( no need for delimiters) , Close the file & place the contents into a field on the form ?
I am able to do the last bit ( field.rawValue ) thru JavaScript but am struggling on the correct JavaScript syntax for Opening the file ( eg H:\PA2011\Report.txt ).
I am attempting to place a Rich text field on the form to be updated (via button ) with the latest Sales information from a Network drive.
I am new to LiveCycle designer & JavaScript syntax but have looked thru all the documentation & forums for some examples of the above without success.
Thanks