As the template is currently designed, you are limited to selecting people one at a time. You'd need to modify the design of your database to support a method where you get a list of multiple people where you can make multiple selections at one time. Thus, it can be done, but only if you want to delve into the world of database development to do so.
Hi, thanks so much for the swift reply. I have modified the database a great deal--it's very different from the original template--but I don't know how to do this one thing. Is there a web page or link you could point me to for help on this issue?
Don't know of one that specific.
I believe you have a many to many relationship. I don't have the events manager open in front of me, so my table names may differ from yours:
If you save the current EventID in a global variable, $$EventID then go to a list view layout (Once you have that working you can pop up the layout in a window as a later enhancement if you want) that lists your contacts with a single value checkbox field: selected, added to it. You can click the check boxes next to the names you want to add to the event. When done click a button to run this script:
Enter Find Mode//clear pause check box
Set Field [Contacts::Selected ; "*"]
Set Error Capture [on]
If [ Get ( Foundcount ) > 0 ]
Set Variable [$ContactID ; Value: Contacts::ContactID]
Set Field [Contacts::Selected ; ""] //clear checkbox field so that it won't affect things the next time you do this
Go To Layout [Events_Contacts]
Set Field [Events_Contacts::EventID ; $$EventID]
Set Field [Events_Contacts::ContactID ; $ContactID]
Go To Layout [//go back to layout with check boxes]
Go To Record/Request/Page [next ; exit after last]
Show custom dialog ["no contacts where selected for this event."]
Go To Layout [//return to layout from which you started]
Thanks so much, I'll try this.