Here is my question:
2 tables: equipment, workorder
they are linked: equipment.eqnum = workorder.eqnum
for each eqnum, there could be >1 workorder.
Fields of <workorder> table like WORKORDER, EQNUM, ACTDATE, METERREADING
Fields of <equipment> table like EQNUM, EQTYPE,EQLOCATION
On the report, it need to show EQNUM,EQLOCATION. For each EQNUM, the report needs to show the latest date (ACTDATE has to be the latest one) that equip is used and the corresponding METERREADING showing on that equip.
How to do that?
2 tables: equipment, workorder
they are linked: equipment.eqnum = workorder.eqnum
for each eqnum, there could be >1 workorder.
Fields of <workorder> table like WORKORDER, EQNUM, ACTDATE, METERREADING
Fields of <equipment> table like EQNUM, EQTYPE,EQLOCATION
On the report, it need to show EQNUM,EQLOCATION. For each EQNUM, the report needs to show the latest date (ACTDATE has to be the latest one) that equip is used and the corresponding METERREADING showing on that equip.
How to do that?