Dialog Box splits values

Hi,

I need some help with a strange problem with da dialog box, I am setting the default value for it when i exit the previous field and when i click to select a different value, it splits the current one in the field, for example, Joe would be on one line and Bloggs would be on the line below?

Is there a fix for this?

Thanks

F1H

Subject: Dialog Box splits values

Would the value happen to contain a comma (eg., Bloggs, Joe)?

Subject: RE: Dialog Box splits values

Thanks for your response Stan,

Nope, the values are not seperated by a comma, its a strange problem. Here is my formula for getting the values :

@Unique(@DbColumn(“”;“”;“(SysDetailsLU)”;2))

Is the @Unique causing a problem?

Thanks

F1H

** Update - Removed the @Unique and it doesn’t make a difference

Subject: RE: Dialog Box splits values

What are your multi-value separators on the display field?

Subject: RE: Dialog Box splits values

Thanks for the reply Mike,

I am not allowing multi values in this field, so its greyed out.

Thanks

Subject: RE: Dialog Box splits values

Do a synopsis and search for the name of the field being affected. You may find that some other code is modifying it without you being aware of it.

Subject: RE: Dialog Box splits values

I am setting the field to a value when exiting the previous field. Here is the code :

Dim s As New NotesSession

Dim ws As New NotesUIWorkspace

Dim db As NotesDatabase

Dim uidoc As NotesUIDocument

Dim v As NotesView

Dim DocColl As NotesDocumentCollection



Set db = s.CurrentDatabase

Set uidoc = ws.currentdocument

Set v = db.GetView("(SysDetailsLU)") 

Set DocColl = v.GetAllDocumentsByKey(uidoc.FieldGetText("SysName"))



If DocColl.Count < 1 Or DocColl.Count > 1 Then

	Call uidoc.FieldSetText("SysAssTo","")

Else

	Set doc = DocColl.GetFirstDocument

	Call uidoc.FieldSetText("SysAssTo",doc.SupportPersonTX(0))

End If



uidoc. refresh

ITs not doing anything special, would this cause it??

Thanks