I want to open documents of a view , when i click to open, it has to prompt to whether the data has to open from FORM A or FORM B. If user selects FORM A, the data has to open in FORM A or if Selected FORM B, the data has to open in FORM B.
FORM A and FORM B has same fields but differ in back ground colour.
How this can done??? If any know, please let me know (Please paste code)
Sub Queryopendocument(Source As Notesuiview, Continue As Variant)
Dim w As New NotesUIWorkspace
Dim docs As NotesDocumentCollection
Dim doc As NotesDocument
Set docs = Source.Documents
Set doc = docs.GetFirstDocument
Continue = False
doc.Form = "FormA"
' or
doc.Form = "FormB"
Call w.EditDocument(False, doc)