Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Read the contents of a text file into form

Posted on 2003-03-17
4
Medium Priority
?
182 Views
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:
@Command([EditGotoField];"Body");
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?
0
Comment
Question by:Cuec
2 Comments
 
LVL 24

Accepted Solution

by:
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

~Hemanth
0
 
LVL 63

Assisted Solution

by:Zvonko
Zvonko earned 100 total points
ID: 8155409
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Screencast - Getting to Know the Pipeline
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

572 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