Read the contents of a text file into form

Posted on 2003-03-17
Medium Priority
Last Modified: 2013-12-18
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);
@Command( [EditInsertText];FileName;"1");
@Command( [EditInsertFileAttachment];FileName;"1")
but that dumps an attachment into the field.

....any ideas how to do this?
Question by:Cuec
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 24

Accepted Solution

HemanthaKumar earned 100 total points
ID: 8153149
Check your designer help for "Using a column descriptor file (.col) to map a source file to a Notes view" and "Col Files"

Once you define the col file and data then do file..import

LVL 63

Assisted Solution

Zvonko earned 100 total points
ID: 8155409

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question