neronikita
Technical User
I have one table with the following fields:
recordid
truckno
date
workitemcompleted
completedby
mileage
timestarted
timestopped
complaint_symptoms
code
addlcomments
After I entered over 500 rows, I realized how I should actually have set this up. I want to have one table for the information that doesn't change for every work item completed on that day to that truck. For example...
Table 1
RecordID
TruckNo
Date
Mileage
Timestarted
timestopped
addlcomments
Table 2
RecordID (fk)
workitemcompleted
completed by
complaint_symptoms
Code
comments
or something like that.
My question is, how do I take the existing table and split it into the two new tables without losing all that I have already entered. Also, am I thinking correctly that this is the way I should have done it in the first place?
Thanks in advance for any help.
Di
recordid
truckno
date
workitemcompleted
completedby
mileage
timestarted
timestopped
complaint_symptoms
code
addlcomments
After I entered over 500 rows, I realized how I should actually have set this up. I want to have one table for the information that doesn't change for every work item completed on that day to that truck. For example...
Table 1
RecordID
TruckNo
Date
Mileage
Timestarted
timestopped
addlcomments
Table 2
RecordID (fk)
workitemcompleted
completed by
complaint_symptoms
Code
comments
or something like that.
My question is, how do I take the existing table and split it into the two new tables without losing all that I have already entered. Also, am I thinking correctly that this is the way I should have done it in the first place?
Thanks in advance for any help.
Di