exRP12Nuke
Technical User
Good Afternoon,
This problem would seem to be a simple calculation, but I am finding that it is proving most difficult.
I have an access table that I need to find the total hours on a component by subtracting two different values in two different rows.
If this was only going to be a one time calculation it would be simple, but I have thousands of records that this calculation needs to be completed on, and more in the future.
If my table headers are CUNO (customer number), EQMFSN (Equipment Serial Number), SVMTHR (Service Meter Hours), CPTCD (Component Code), CPTMD3 (Modifier), WONO (WorkOrder), WOSGNO (Segment), JBCD (JobCode), OPNDT8 (OpenDate), and IVDT8 (Invoiced Date), what VBA code do I need to use to subtract SVMTHR from another when EQMFSN, CPTCD, and CPTMD3 are equal?
Thanks!
This problem would seem to be a simple calculation, but I am finding that it is proving most difficult.
I have an access table that I need to find the total hours on a component by subtracting two different values in two different rows.
If this was only going to be a one time calculation it would be simple, but I have thousands of records that this calculation needs to be completed on, and more in the future.
If my table headers are CUNO (customer number), EQMFSN (Equipment Serial Number), SVMTHR (Service Meter Hours), CPTCD (Component Code), CPTMD3 (Modifier), WONO (WorkOrder), WOSGNO (Segment), JBCD (JobCode), OPNDT8 (OpenDate), and IVDT8 (Invoiced Date), what VBA code do I need to use to subtract SVMTHR from another when EQMFSN, CPTCD, and CPTMD3 are equal?
Thanks!