C
chrism216
Hi all,
I have 2 databases. One is historical data of the maintenance of several devices, the other one is historical data of stolen items from those devices.
What i want to do is the following. For any given time when i know a theft happened, i want to know who was the last person to perform maintenance on that device, and populate the data of stolen items with that column. Prettysimple! I cant get it to work though... Ive looked up for alternatives with offset, index, max, but cant get it to work.
Any help will be appreciated!
To make it simple lets say the databases look like this:
Maintenance:
Column A: Device ID
Column B: Date of last maintenance
Column C: Name of technician who performed last maintenance.
Theft:
Column A: Device ID
Column B: Date when theft was discovered
Column C: Name of technician who discovered theft.
I have 2 databases. One is historical data of the maintenance of several devices, the other one is historical data of stolen items from those devices.
What i want to do is the following. For any given time when i know a theft happened, i want to know who was the last person to perform maintenance on that device, and populate the data of stolen items with that column. Prettysimple! I cant get it to work though... Ive looked up for alternatives with offset, index, max, but cant get it to work.
Any help will be appreciated!
To make it simple lets say the databases look like this:
Maintenance:
Column A: Device ID
Column B: Date of last maintenance
Column C: Name of technician who performed last maintenance.
Theft:
Column A: Device ID
Column B: Date when theft was discovered
Column C: Name of technician who discovered theft.