Hi Jo,
Now I understand why you want me to avoid multiple topics on a single thread. You have answered my question about error messaging on a new thread, but you did not answer the other topic on the thread “Form Page Designer Issues”. Here is a summary of the question I need:
However, your last reply only addresses the error messaging. It does not address the main issue, which is being able to add the same member multiple times to the group.
I couldn’t figure out how to use _lookupUnique on the process screen, so I would not see all members, just those not in the group. The best fix would be a lookup unique on the GroupMembers table, but somehow joined to the Members table so I could see all members except those already in the group in the Member drop-down of the process screen fields.
If this cannot be fixed, how do I implement checking for the presence of the selected member already in the current StudyGroup? My InsertGroupMemberServer function tries to do this but it is not working.
If I add a member to the group, then click the action button to add another member, It lets me choose to add the same member again. I have a lookup field for members when adding a new member to the group, but the lookup field is a simple lookup tied to the members table only. Therefore, it would let me add the same member multiple times.
I have another topic, “Problem Returning to Form After Adding Record”, which you have not yet answered. This describes the related issue, and shows why members may be being added multiple times to a group.
However, for this topic, I need to find a way to implement LookupUnique so it is not possible to add the same member twice to a group. Instead of basing the lookup on the Members table only, how do I base it on perhaps a join query which includes the GroupMembers table and also the Members table so I can get the names in the lookup? There is a LookupQuery type of field, but I’m not sure that is the answer. Mainly, in the drop-down I want to see all members, but only if they are NOT already in the group yet.
I hope this clears things up. Thanks for your patience with me!
