Related Items Issue

rss

Posted by cdcbolton - Nov 4 ’16 at 10:21

Hello

 

Getting some stange behaviour using the 'related items' control. Using a filter to the external list say 'project name' which occurs in  the source list (the form I'm designing) and the target list. There is 1 to Many relationship and I'm displaying the resultant data in a datasheet style view. All works very well in that the matching related items are being displayed but underneath the related items the results are being display 4 more times? So it appears at runtime we have 4 related item controls being displayed. interestingly the data being displayed in the extraneous instances is not the actual related data but data from other 'projects'. I will point out that the target list 'project name' colums is a lookup (to the source list) but is NOT multiple select.

 

Thanks

 

The Configuration Settings for the Related Items

Configuration Dialog

The resultant Display Form:

 

The area in black is correct, but below the form buttons we see the results repeated 3 more times, this data is for other projects in the target list and seems to missing the project columm, the column used to relate the 2 lists?

 

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 2 months 10 days
    #1 by Dmitry Kozlov Nov 7 ’16 at 03:03

    Could you provide a screenshot of the form?

  • cdcbolton
    Member
    Member for: 5 years 3 months 19 days
    #2 by cdcbolton Nov 9 ’16 at 04:54

    The configuration dialog for the related items

    and the result:

    The area in black is correct but the area in read is repeated 3 times below the close button (the form is in display mode) the amount of times the section is repeated depends on the number of times 'project name' is used in the target table, for instance we have setup entries for 4 projects in total -> 1 correct dataset + 3 redundant datasets displayed.. Notice the redudant 3 extra sets of data are missing the foreign key (project name)?

     

    Thanks in Advance

     

     

  • cdcbolton
    Member
    Member for: 5 years 3 months 19 days
    #3 by cdcbolton Nov 9 ’16 at 05:00

    [#2]

  • cdcbolton
    Member
    Member for: 5 years 3 months 19 days
    #4 by cdcbolton Nov 9 ’16 at 05:33

    [#3]:

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 2 months 10 days
    #5 by Dmitry Kozlov Nov 9 ’16 at 05:46

    [#4]: Have you tried to remove the extra views from the page: switch the page into Edit mode and remove extra web parts? What happens if you remove all related items controls from your form, do extra view disappear as well?

  • cdcbolton
    Member
    Member for: 5 years 3 months 19 days
    #6 by cdcbolton Nov 9 ’16 at 10:19

    [#5]: I manually edited and removed the extra web-parts and the issue seems to have gone away. Thanks

  • acquiro
    Member
    Member for: 1 year 6 months 6 days
    #7 by acquiro Jul 9 ’20 at 02:46
  • EvaAlupkina
    Member
    Member for: 1 year 2 months 3 days
    #8 by EvaAlupkina Sep 27 ’20 at 07:16

    Essay writing is probably the hardest part of your studying in college. Not everybody likes to write, especially when it comes to completing different essays and research papers. What should you do, if you don’t want to write an essay? The answer is simple – use our essay writing service! <a href="https://termpaperwriter.org/research-cover-page/" rel="nofollow" target="_blank">Best essay writing</a>

  • Oddyann
    Member
    Member for: 11 months 15 days
    #9 by Oddyann Dec 14 ’20 at 02:15

    Very interesting!

  • marygilmore
    Member
    Member for: 11 months 6 days
    #10 by marygilmore Dec 23 ’20 at 07:49

    The more difficult the goal to write my essay and the more effort is spent on it, the more significant the encouragement should be. The outlined progress, higher grades in a quarter - a reason for encouragement. What can serve as a reward - everyone decides for himself.

Displaying 1 to 10 of 68 messages
Previous1234567