Hi Aurelio,
Thank you for your reply. But thats not what im trying to achieve.
With your solution I will always see players in the dropdownlist that doesnt belong tot he club I selected.
The dropdownlist in the popup should always only contain players related to that club. In case I added a player to the local variable list “ClubPlayers” and I want to add another player I dont want to see the played I added before in the dropdownlist.
Example:
I open the screen. In this case the Clubs are imported in the ClubPlayers local variable list. Now I only see the clubs without any players on the screen.
Now I want to add a player to the club Benfica in the ClubPlayers list. A popup appears and I can choose Rui Costa or Eusebio (Dont forget that these players already belong to Benfica. If I choose Rui Costa and click on Add, Rui Costa will be added to the PlayersList of the Clubrecordlist. And will be shown in the list on the mainscreen.
Till here everything works fine. But now I want to add another Benfica player to the list. I open the popup again and the list contains again Rui Costa en Eusebio. But Rui Costa was already added before and I dont want to see him in this dropdownlist.
And the second question:
In case I remove rui costa from the main list, and i want to add another player using the popup. I expect to see rui costa again in the dropdownlist together with Eusebio.
Hopefully this gives you a better understanding of what I try to achieve