Problem solve Get help with specific problems with your technologies, process and projects.

LEI and DECS 1:n functionality

I connect Notes through DECS in an open event on a form with an Oracle view. On the Form I have a key, but it is not a unique key. There is a one to many relation. So, I tried to define the fields on the form as multi-value fields (newline) and in the DECS event I tried using of multi-value data fields. But, when I do this, I get, "Network operation did not..." When I do the same without the multi-value option, I get a mere 1:1 result, but at least I get a result. My question is this: Is it possible to get a solution for a (1:n-relation) on a form?

The way that the LEI and DECS 1:n functionality works is based on a common key that is used to identify a group of records. An example of this would be a relational table of invoice items. There would be 1 to n items on the invoice and each item record would have the invoice nubmer as its common grouping key. To solve the problem you need determine the appropriate common key that all the matching rows in the view share. Once you have determined the common key, try a query from the Oracle PL/SQL window (or a gui tool, if you have one). The query would be something like "select * from my_view where key_column = 'keyvalue';" This should return you 1 to n rows for the 'keyvalue' specified. If that works okay then you should be able to mimic the functionality in DECS. Note: you might not need to use the/a View for this type of operation; in my experience Views can effect performance if more than two tables are being joined. If you require the View be sure to have your dba create an index, which will improve your performance.

Dig Deeper on Domino Resources - Part 4

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...