Let me explain using a database for Contacts and their PHONE numbers.
It would seem logical to create a single table using the following fields:
Name
Address
City, State Zip
Phone
Guess what, all of a sudden you realize that you have both a home phone and
a business phone. So you go into your single table and you add another field
called Business phone. Subsequently, you now have to go into all your
queries, forms and reports and also add this new field.
A week later you get someone with a fax, and now you end up adding another
field to the main table. The next day you realize the person has two business
phones, an alternate and a cell phone. I'm sure you can see the problem.
One way to solve this is to have two tables: a Main Contact with CONTACTID,
and a secondary table Phone with foreign key CONTACTID.
Now you can (as I said in a previous email with you) have 10 or 10 Million
phones. And if contact 1 only has 1 phone, you don't have to get rid of the
other 9,999,999 text boxes, cause they never existed in the first place,
because all of them are stored as records (or not) in the Phone table.
The same thing with work orders. Each work order is like the Contact Table,
in your case it has WO_ID.
All the Tasks are stored in the Task table (I think I referred to it as the
WO_Detail table) with foreign key WO_ID. So now, when WO #1 has only 1 Task,
and WO #5 has 1,000 tasks, you dont' have to delete any text boxes, because
all the tasks exist as a new record in the secondary table.
Helpful?
Thanks,
Michael