Show certain records in a layout based on one field
I have what I thought was a simple task - I'd like to create a layout for "student rosters" for each class at our school. The layout should pull all the student records for students who are in a specific class. I created a script that finds the students based on the information in the "class" field, but I can't figure out how to make the layout use that script to show only those students. The layout shows all students, regardless of which class they're in. I'm a newbie to FileMaker and have been disappointed with how incredibly complicated every simple little thing is. Can anyone give some advice on how to simply select records based on the info in one field and then make those records display in a layout?