pavan kumar penmetsa 3.May.11 03:20 AM a Web browser Domino Designer6.5.5All Platforms
Hi,
I have a problem with inheriting field value from parent doc's field to
the field in response document. The inheritance should happen when the
response document is composed. I have an action button on parent
document to create response doc. Action button contains following code:
----------------------
Dim db As Notesdatabase
Dim session As New NotesSession
Set db = session.CurrentDatabase
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim doc As NotesDocument
Dim ParentDoc As NotesDocument
Dim ResponseDoc As NotesDocument
Set uidoc = workspace.CurrentDocument
Set Parentdoc = uidoc.Document
This code works properly creating the response doc, but for some reason
field content do not inherit from parent to response. I have checked
from response document the property "Formulas inherit values from
selected document" from the Defaults tab. Furthermore the field in
response doc, which should inherit the value from parent field,
contains the parent field name as default value.