Display documents

Hi all,

How to display 3 documents (with same ParentDocID) in 1 form? Do I need to DBlookup all the fields in this display form? Any simpler way?

Thanks & Regards

Subject: Display documents

Dear,

There are 2 cases:

  1. You’d like to place 3 children on the same form with parent document.

  2. You’d like to make a single form for interacting with three children.

In the first case, please simply place 3 doclinks insteads of 3 displayed sections in main form.

In the second case, please make a form (call it frmChildrenDisplay) with “SaveOptions” field is always 0.You create 3 section in this form, a child document per section. And then, you create a field “fld_ChildIDn” (n is an order number, ie:1,2,3) per section in this form. This form is used to display 3 children by placing a back-end several codes into Form/PostOpen. So, PostOpen event can interact as the following:

  • Input: parent document universal ID.

  • Process: get child by child and not over 3 children in total. You get all display-needed fields in each child, and then assign them into corresponding fields in frmChildrenDisplay. After editing data, if user likes to save these information into the children, you can save them into corresponding child relied on the field “fld_ChildIDn” of each section.

Good luck to you!

nhatnamnv@yahoo.com