This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace 'set new workspace
Dim uidoc As NotesUIDocument 'fornt end of document
Set uidoc = workspace.currentdocument 'set current document
Dim flag As Boolean
flag = workspace.DialogBox( "PrintEditHistory", True, True, True, True, True, True, "Edit History") 'PrintEditHistory is another form which holds the field to be printed
If flag=True Then
Set uidoc = workspace.currentdocument 'set current document
Call uidoc.Print
End If
End Sub
Above is the piece of code I'm using. Its not working for me as prints the underlying document. I need to print the data which opens up in the dialogbox.
Any ideas how I may achieve this?
Thanks,
Suji
Feedback response number WEBB9E39M3 created by ~Wendy Brekimarjip on 12/04/2013