Ask the Expert

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(
		'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 first published in May 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

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: