I have a database application where using VB 6.0 and Microsoft Access 2000. I have been asked to make modifications to the application by doing the following:
1)The Projects Table in the database has a field called ActualHours.
2)The customer wants to break down the ActualHours into several categories (Administrative, Sub-contractor, etc...).
I was thinking of creating a new table that has these breakdown categories and linking them to the key Field (Project_Name) in the Projects table. Then I want to make the ActualHours field equal the total of all of the hours in the subcategories in the connected table. When the display form is shown in the VB application, it is only to show the data in the ActualHours field
I think I can do this but I don't want to affect the thousands of records that are already in the database that were entered when the ActualHours were entered as a total. I am afraid that if I link the two tables the records that do not have the sub-categories will calculate out to zero when I perform the total
1)The Projects Table in the database has a field called ActualHours.
2)The customer wants to break down the ActualHours into several categories (Administrative, Sub-contractor, etc...).
I was thinking of creating a new table that has these breakdown categories and linking them to the key Field (Project_Name) in the Projects table. Then I want to make the ActualHours field equal the total of all of the hours in the subcategories in the connected table. When the display form is shown in the VB application, it is only to show the data in the ActualHours field
I think I can do this but I don't want to affect the thousands of records that are already in the database that were entered when the ActualHours were entered as a total. I am afraid that if I link the two tables the records that do not have the sub-categories will calculate out to zero when I perform the total