D
Deuce Sapp
I have two tables and a query:
table 1: equipment
table 2: workorders
query: month_release
The query evaluates the equipment table and, based on a form input,
generates a list of equipment that has to be serviced for a month. I also
have an update query that appends the workorders table with the serial
numbers returned in that query.
My problem is that my workorders table is going to have workordernumber
(which is an autonumber) and the serial number....and the serial number is
going to ultimately be in there multiple times. I want to keep it that way
so I can know what work orders applied to what serial numbers. Now...I need
to update the equipment table with the most recent workorder number. I
tried an update query with a MAX() statement, and a query using TOP Values.
It seems like these methods only want to return a single value.
Where am I going wrong?
Deuce
table 1: equipment
table 2: workorders
query: month_release
The query evaluates the equipment table and, based on a form input,
generates a list of equipment that has to be serviced for a month. I also
have an update query that appends the workorders table with the serial
numbers returned in that query.
My problem is that my workorders table is going to have workordernumber
(which is an autonumber) and the serial number....and the serial number is
going to ultimately be in there multiple times. I want to keep it that way
so I can know what work orders applied to what serial numbers. Now...I need
to update the equipment table with the most recent workorder number. I
tried an update query with a MAX() statement, and a query using TOP Values.
It seems like these methods only want to return a single value.
Where am I going wrong?
Deuce