我在使用Lotus Notes Webservice使用者(Lotus Script)时遇到了一些问题。 它应该发送一个参数(字符串)并接收一个列表。 这工作正常,但当我尝试发送一个斜线字符" /"然后就失败了。
我的程序看起来像这样。
'** Notes declarations:
Dim ws As New NotesUIWorkspace
Dim session As New NotesSession
Dim uidoc As NotesUIDocument
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim listfield As NotesItem
Dim dok As NotesDocument
Dim view As Notesview
Dim NotesDocumentCollection As NotesDocumentCollection
Dim item As NotesItem
Dim notesItem As NotesItem
Dim LA_ReturnArray As New ArrayOfString_n3()
Dim LA_string As New ArrayOfString_n3()
Dim Engaku As New Engaku()
Dim LV_variant As Variant
Dim LS_searchString As String
Dim Intermediate As XSD_STRING
Dim i As Integer
Dim L As Integer
Dim m As Integer
Dim n As Integer
Dim LS_SearchValue As String
Dim LS_ReplacementValue As String
Set uidoc = ws.CurrentDocument
Set doc = uidoc.Document
Set db = Session.CurrentDatabase
LS_searchString = "address road 1/d"
LV_variant = Engaku.getCustomerNames( LS_searchString )
有没有办法处理发送斜杠" /"
答案 0 :(得分:0)
问题解决了。 问题是当在子表单中使用一个字段时,该字段中填充了测试" company / companytype" (在斜线" /"包含在文本字符串中)提示符返回" CN = company / O = companytype"。 通过剥离前三个字符并替换" / O ="解决问题用" /"。 谢谢你的回答。 拉斯