Q

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:

	x=0
	Do While x<Ubound(doc.events)
		myContent=doc.Events(x)
		'do your thing here
		x=x+1
	Loop

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

This was first 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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • 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 ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close