Multivalue fields - browser vs LN client

I have a Lotus Script agent that collects values of 10 fields and concatenate them into a text multivalue field - display new line.When viewed with the Lotus Notes client, you can see the values one under the other.

But when viewed in the browser, the values display horizontally and not vertically.

Here is an extract of my code:

Sub Click(Source As Button)

Dim s As New NotesSession

Dim db As NotesDatabase

Dim view As NotesView

Dim doc As NotesDocument

Dim i As Integer



Set db = s.CurrentDatabase

Set view = db.GetView("Dynamic")

Set doc = view.GetFirstDocument	

Call getValues(doc)	

End Sub

Function getValues(doc)

For i =1 To 25 

	ii = Cstr(i)		

	F1= doc.GetItemValue("RM_" & ii)

			

	'Set new fields with values of the old fields

'If old field= Text and = “”, set to “*”, and If old field= Number and = “”, set to -1

	If F1(0) = "" Then

	‘C1 is a concatenated value collector 

		If C1 = "" Then 				

				C1= "*"

			Else

				C1=  C1 & Chr(10)  &"*"

			End If				

			

		Else

			If C1 = "" Then 			

				C1 = F1(0)

			Else

				C1 = C1 & Chr(10)  &  F1(0)

			End If				

		End If

		

	Next

‘Set the new field to the concatenated value

doc.RMTX = C1

End Function

The RMTX field multivalue setttings are:

… Enter: Semicolon and New line

… Display: New line

Any idea ?

TIA

Subject: Multivalue fields - browser vs LN client

I believe that would be difficult with a text field in the browser

why not using computed text for the browser?

@Implode( mvfield ; @NewLine)

HTH - Uwe

Subject: RE: Multivalue fields - browser vs LN client

I didn’t even considered formulas because the requirements are much more complicated than I wrote in my previous post.In fact I have 14 fields in each row and 25 rows, plus complex logic at row level.

Besides, more than 6.000 docs to run the agent against.

Thx anyway.