Read the contents of a text file into form
Posted on 2003-03-17
I want to fill in a form with contents of a text document.The text document has a template consisting of the form field names. I want to search for keywords and then pull out the relevant information and insert them into the approperiate fields. I'll like to know what the best way of doing this is and specifically, how to read the contents of the textfile.
I have so far done:
FileName:=@Prompt([LOCALBROWSE];"Select the Text file";"Please select the Text document";"";"";3);
but that dumps an attachment into the field.
....any ideas how to do this?