hi,I have an item that has names in it, how can I make those names abbreaviated….
iMembrGroup.Values = Fulltrim(Arrayreplace(iMembrGroup.Values, session.UserName, “”))
here are the values in the item.
iMembrGroup.Values
CN=Mary Tsen/OU=Illustration/O=Acme
CN=Paul Tsen/OU=Illustration/O=Acme
I need to see
Mary Tsen/Illustration/ Documentation…
Paul Tsen/Illustration/ Documentation…
How could I do this?
thanks.
A.
Subject: problems with names abbreaviated
If they are Notes names, then you can use .abbreviated
Sub Initialize
Dim session As New NotesSession
Dim nam As NotesName
REM Create a hierarchical name
Set nam = session.CreateName( _
“CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US”)
REM Returns “John B Goode/Sales/East/Acme/US”
Messagebox nam.Abbreviated, “Abbreviated name”
End Sub
Subject: RE: problems with names abbreaviated
I am not sure how to manipulate the code iMembrGroup.Values so that it works like the exemple.
When I tried it with name I got erreurs… is there a way from iMembrGroup.Values to make it some how abbraviated?
A,
Subject: Are they notesnames? or just strings?
Subject: RE: Are they notesnames? or just strings?
it is an array,
iMembrGroupPerson.values contains the values;
CN=Mary Tsen/OU=Illustration/O=Acme
CN=Paul Smith/OU=Illustration/O=Acme.
dBCB.ListePerson = iMembrGroupPerson.values
flag = w.Dialogbox( "SelctPersont", True, True, False, False, False, False, "Select the name to notify.", dBCB )
how can I have the values in the dialogbox show this way
Mary Tsen/Illustration/Acme
Paul Smith/Illustration/Acme
thanks,
A