K
KKruz
I have two tables
Employees table, Hours table
Employees table has fields : Names, Autonumber, Phone number, ......
Hours table has fields : Names, Autonumber, Phone number, hours, total hours
Each time an entry is made for hours table the table enters the name, phone
and hours.
Emloyees table is one to Hours table many
I now realize I may have my relationships wrong. My database is working
well as is but looking down the road for updating names or phone numbers I
have a flaw. Before diving into changing the relationships I was hoping a
quick update query would allow me to update names or phone numbers in the
many table (Hours) with a change in the Employees table name/phone number.
Any suggestions on how I can work around the relationships for now and
change all the many names in the Hours table once I change the name in the
Employees table?
Example
Employees Table Data
Rob Jones with other emloyee data(phone, address, DOB)
Dave White " " " "
Hours table Data
name hours total hours
Rob Jones 10 10
Rob Jones 12 22
Dave White 8 8
Rob Jones 4 26
Dave White 4 12
Would like to change Rob to Robert and Dave to David in Hours table.
Relationship is between Employee Name and Hours Name
Hope I explained what I have so far.
Thanks,
Employees table, Hours table
Employees table has fields : Names, Autonumber, Phone number, ......
Hours table has fields : Names, Autonumber, Phone number, hours, total hours
Each time an entry is made for hours table the table enters the name, phone
and hours.
Emloyees table is one to Hours table many
I now realize I may have my relationships wrong. My database is working
well as is but looking down the road for updating names or phone numbers I
have a flaw. Before diving into changing the relationships I was hoping a
quick update query would allow me to update names or phone numbers in the
many table (Hours) with a change in the Employees table name/phone number.
Any suggestions on how I can work around the relationships for now and
change all the many names in the Hours table once I change the name in the
Employees table?
Example
Employees Table Data
Rob Jones with other emloyee data(phone, address, DOB)
Dave White " " " "
Hours table Data
name hours total hours
Rob Jones 10 10
Rob Jones 12 22
Dave White 8 8
Rob Jones 4 26
Dave White 4 12
Would like to change Rob to Robert and Dave to David in Hours table.
Relationship is between Employee Name and Hours Name
Hope I explained what I have so far.
Thanks,