Hi,
Just need to know how to write this SQL...
2 tables, Orders_tbl and Order_detials_tbl.
I have a "closed" yes/No field for both tables. If each order item is delivered, the user will tick "Closed" in the Order_detail_tbl. If all the items are delivered, the Order_tbl should be ticked "closed".
I need a update query to closed the Order_tbl automatically if all its items are closed.
Cheers
Teck Beng
Just need to know how to write this SQL...
2 tables, Orders_tbl and Order_detials_tbl.
I have a "closed" yes/No field for both tables. If each order item is delivered, the user will tick "Closed" in the Order_detail_tbl. If all the items are delivered, the Order_tbl should be ticked "closed".
I need a update query to closed the Order_tbl automatically if all its items are closed.
Cheers
Teck Beng