Problem solve Get help with specific problems with your technologies, process and projects.

How can I export a whole field value to a text file?

Hi. I need to export the field value "Event" in the form "Mail Events" inside Log.nsf to a text file. I use the "Print #fileNum, doc.Events(0)" statement but find that only part of the field value has been exported. How can I export the whole field value to a text file? I am using Domino R 5.0.8.
The events field in the Mail Events form is a multi-value field. You will need to loop through all the values and repeat your writing to file for each value.

For instance with a simple routine like this:

	Do While x<Ubound(doc.events)
		'do your thing here

This will allow you to keep printing to your file, until the last value is reached of the events field.

This was last published in May 2003

Dig Deeper on Domino Resources - Part 6

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...