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?
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??