form1에 body라는 두 개의 richtext 필드와 form2에 body1이라는 내용을 비교하는 스크립트가 필요합니다. richtext 유형 필드가 포함 된 두 개의 서식을 작성하고 분류보기를 작성하고이보기에서 비교라는 단추를 작성합니다.이 단추는이 두 가지 포함 항목을 비교하여 메시지로 표시합니다.두 가지 서식있는 텍스트 필드를 비교하는 방법
Sub Click(Source As Button)
Dim session As NotesSession
Dim db As NotesDatabase
Dim dc As NotesDocumentCollection
Dim doc, doc1 As NotesDocument
Dim body, body1 As Variant
Dim view As NotesView
Dim rtitem As NotesRichTextItem
Set session = New NotesSession
Set db = session.CurrentDatabase
Set dc = db.UnprocessedDocuments
Set doc = dc.GetFirstDocument
Set doc1=dc.GetNextDocument(doc)
body = doc.GetItemValue("body")
Msgbox body(0), ,"Richtext field of First form"
body1=doc1.GetItemValue("body1")
Msgbox body1(0) ,, "Rich Text field of Second form"
'If body.value=body1.value Then
Msgbox"both are same"
'End If
Msgbox"both are different"
End Sub
이것은 C 모양이 아닙니다. –
어떤 언어입니까? VB? 그것은 확실히 C가 아니다 – CashCow
이것은 javascript 인 것처럼 보인다? –