Hi,
Using MS Access 365.
Have a small library database. Table 'Titles' includes fields, TitleId and Status. Status is either "On Shelf" or "On Loan"
Have a 'Borrower' Form with details of borrower.
Have 'Borrowings' sub form which shows Borrowing History for Borrower by TitleID This form includes fields 'Date Borrowed' and 'Date Returned'
So far all works well.
So! I want to be able to switch the 'Status' field on the Titles Record, according to whether there is a value in the 'Date Borrowed' but not in the 'Date Returned' field, [On Loan] or, if a Book is returned, [On Shelf].
Borrowings.pdf
My thanks in advance.