database table design advice needed

psycoperl

Active Member
Joined
Oct 23, 2007
Messages
339
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
  3. Web
I am currently working on a database to track test registrations.

There are currently 22 possible test codes which are stored in tblTestInfo. The test codes are text based if that matters, some may have "-" in them but no spaces.

I need to assign one or more test codes to a particular test session what would be the best way to do this?

I need then to also figure out a way to query the session to see if there are seats still available.

Any guidance you can offer would be great.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Based on what you have said, maybe something like this, a table with three fields:

TestSession
TestCodeIndex
TestCodeValue

So your data might look like this (note how the TestCodeIndex value starts over at 1 for every new session).
Code:
TestSession   TestCodeIndex   TestCodeValue
Session1             1           abc-123
Session1             2           mmm-444
Session1             3           xyz-789
Session2             1           mmm-444
Session2             2           xyz-789
Session3             1           abc-123
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,707
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top