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.
Related Q&A from Hans van der Burg
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.