Hi all,
I have two tables from two vendors.
Vendor1
DeptCode......TruckN.....PMC.....NormC.....AbnormC
F4000............F100.......$100.....$500.......$10
IA702.............F110.......$100.....$500.......$10
MA702...........T150.......$100......$500.......$10
etc
Vendor2
DeptCode......TruckN.....PM.......Norm.......Ab
IW000............F100.......$100.....$500.......$10
IA702.............F110.......$100.....$500.......$10
MA702............T150......$100......$500.......$10
etc
Normally this wouldn't be hard but...
I need to combine the PMC with PM, NormC with Norm, and AbnormC with Ab IF......
The deptcode AND the truck number are the same.
If the truck numbers are the same and the department code is different, I need 2 seperate listings (table below). I'm kind of lost on where to begin with a query for this.
DeptCode......TruckN......PM.......Norm........Ab
F4000.............F100.......$100.....$500........$10
IW000............F100.......$100.....$500........$10
IA702.............F110.......$200.....$1000.......$20
MA702............T150.......$200.....$1000.......$20
etc
Thanks all.
PB
I have two tables from two vendors.
Vendor1
DeptCode......TruckN.....PMC.....NormC.....AbnormC
F4000............F100.......$100.....$500.......$10
IA702.............F110.......$100.....$500.......$10
MA702...........T150.......$100......$500.......$10
etc
Vendor2
DeptCode......TruckN.....PM.......Norm.......Ab
IW000............F100.......$100.....$500.......$10
IA702.............F110.......$100.....$500.......$10
MA702............T150......$100......$500.......$10
etc
Normally this wouldn't be hard but...
I need to combine the PMC with PM, NormC with Norm, and AbnormC with Ab IF......
The deptcode AND the truck number are the same.
If the truck numbers are the same and the department code is different, I need 2 seperate listings (table below). I'm kind of lost on where to begin with a query for this.
DeptCode......TruckN......PM.......Norm........Ab
F4000.............F100.......$100.....$500........$10
IW000............F100.......$100.....$500........$10
IA702.............F110.......$200.....$1000.......$20
MA702............T150.......$200.....$1000.......$20
etc
Thanks all.
PB