cismajor97
Weaksauce
- Joined
- Mar 23, 2006
- Messages
- 88
I have a form that I am building and I've run into this problem. There is a section on the form that checks if a person wants to sign up for a AM shift or PM shift for a Show. What I need to know is how do I normalize the form to reflect that in the database? Here is what the user would see on the web form.
Show AM Shift PM Shift
--------------------------------------------------
Show #1 checkbox checkbox
Show #2 checkbox checkbox
Show #3 checkbox checkbox
Here is what I have so far in the table design:
Table Shows
--------------------
ShowID int PK
Name nvarchar(50) Not Null
Table Person
--------------------
PersonID int PK
FirstName nvarchar(50) Not Null
LastName nvarchar(50) Not Null
Table Shift
----------------
ShiftID int PK
Name bit Not Null
Show AM Shift PM Shift
--------------------------------------------------
Show #1 checkbox checkbox
Show #2 checkbox checkbox
Show #3 checkbox checkbox
Here is what I have so far in the table design:
Table Shows
--------------------
ShowID int PK
Name nvarchar(50) Not Null
Table Person
--------------------
PersonID int PK
FirstName nvarchar(50) Not Null
LastName nvarchar(50) Not Null
Table Shift
----------------
ShiftID int PK
Name bit Not Null