Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7141 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

How does one display selected (more than one) values from a value list with more than two values in the list.

I have a school PTA database (one table) with all student names and their parents. To join the PTA, I created a value list listing - student ; parent1; parent2 with check boxes next to each. Sometimes all 3 joined; sometimes 2 or just one.

In trying to display actual names from the choices I created a field for each to display each selection which works fine except when 2 check boxes appear in the record and nothing is displayed

Case(PTSA_Membership="Student1";Student) I realise Case only outputs one result.

Stephen

Posted

When selecting from a checkbox set the selcted values are stored in a return delimited fashion. If student Amy Anderson and her mother Angela are both checked the field would contain:

Amy Anderson

Angela Anderson

I have attached a file to demonstrate a few ways the choices can be dislayed.

CheckBoxList.zip

Posted

The reason for adding Student 2 to the graph is to limit the choices in the PTSA_Membership field to only those related to each particular student. If you dont add the second occurrence of the Student table to the graph then the PTSA_Membership field would show every single student (and both parents) in the table as choices. I have Attached a file that demonstrates this.

Think of adding the second Student table occurrence (Student2) as creating a copy of the Student table but the copy only contains records that match the currently displayed student record in the first table occurence. Hence the ID_Student = ID_Student relationship. So when you are viewing Sally Silly's student record in the Student table the Student2 table would only contain Sally Silly's record. If you went to Tommy Terrible's record in the first table the second table would only contain Tommy T's record... and so on. So by using the Student2 table occurrence to create the PTSA_MChoices Value List you limit the choices to only the currently selected student (in the first occurence of the Student table) and their parents.

CheckBoxList2.zip

This topic is 7141 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.