
June 29th, 2000, 08:56 AM
|
|
Junior Member
|
|
Join Date: Jun 2000
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
The purpose of the form is to edit the crew member's category information. The category table holds only the category_id and the category title. The crew_category table is a link table that holds the crew_id and the category_id (So we can add categories later).
The form displays the current categories for that crew member. If a member has entries in the crew_category table for categories 1 and 2, these will display. I want to allow the user to select categories to add for this member only for categories that don't exist for that member.
As an example, a member has the following entries in the crew_category table:
crew_id = 10, category_id = 1
crew_id = 10, category_id = 2
I want the update form to display checkboxes for categories 3,4,5, etc., but NOT for categoris 1 or 2, so categories 3,4,5 can be added.
I'm trying to compare the results of the crew_category lookup with the categories table to see what categories don't exist for this person.
Sorry about the confusion. I know what results I want, I just don't know how to go about it (or how to explain it)!
Thanks!
|