2 forms into 1 view

Trying to figure out how to have data from 2 forms show up in one view. We have it appearing in the view but the view is generating 2 rows for each record. One row is the Form1 data and row two is the Form2 data. Any way to make these just come up in one row?

This is what we have for the formula right now:

SELECT form = (“AEF” :“ATR”) | @AllDescendants

AEF is form1 and ATR is form2

I know these are basic questions but we are new to this. Thanks

Subject: You’d have to use an XPage with a repeat-control.

Subject: xpage help

Thanks Erik… We have never used an xpage before. What would we need to do for this?

Subject: 2 Records

The documents generated by the 2 forms are 2 different records.

Unfortunately in notes there isn’t a way to combine these into one row.

Subject: Well…

There’s lots of tutorials around. The standard place to start is Declan’s Blog (just google “Declan xpages”.) He has a 50+ page tutorial that goes through everything.

You’ll basically be rebuilding the screen that shows your view (it was probably a form before, right?) but XPages have so many more layout/ui capabilities than legacy Domino development ever did. Look at the Repeat Control – that’s going to be the crux of what you need, probably with a pager. Though a View Control could possibly work for you if you don’t need anything too terribly complex.

You will probably need to put all your “first row” docs in one view, and all your “second row” docs in another. Then use the Repeat Control (or View Control) to show the docs from the first view, pulling in the info from the second view.