I'm working on a project named Export and I'm stuck..... I just want to calculate the Total Vehicle which for the time being I'm doing it manually.... My project looks like that:
Table - Export
Fields
ID
Date
Shift (First/Second/Third Shift Duty)
Items
USA
UK
France
Italy
TOTAL
The data entries are being done in a subform in datasheet view and the field Items is a combo box with value "Cars", "Van", "Lorries", "TOTAL VECHILE", "Shirt", "Short", etc... The records are shown like that:
ITEMS USA UK France Italy TOTAL
Cars 10 10 20
Vans 15 10 10 35
Lorries 5 5 5 15
TOTAL VEHICLES 30 15 15 10 60
Shirt 10 20 30
Short 5 5
etc...
I just want if it's possible:
IF items = "Total Vehicles" Then
(lookup the items = 'Cars', "Vans', 'Lorries' and add the value for UK, USA, France and Italy)
Table - Export
Fields
ID
Date
Shift (First/Second/Third Shift Duty)
Items
USA
UK
France
Italy
TOTAL
The data entries are being done in a subform in datasheet view and the field Items is a combo box with value "Cars", "Van", "Lorries", "TOTAL VECHILE", "Shirt", "Short", etc... The records are shown like that:
ITEMS USA UK France Italy TOTAL
Cars 10 10 20
Vans 15 10 10 35
Lorries 5 5 5 15
TOTAL VEHICLES 30 15 15 10 60
Shirt 10 20 30
Short 5 5
etc...
I just want if it's possible:
IF items = "Total Vehicles" Then
(lookup the items = 'Cars', "Vans', 'Lorries' and add the value for UK, USA, France and Italy)
Comment