Hi All
I am relatively new to access 2010 but have a little knowledge of earlier versions.
My problem is, How can i write a a function or query to tell if a book has been borrowed from my library. I have a table tblauthortitle with fields by Author,Book Title, Borrowed By, Date Borrowed and Return Date.
Below is the Qurey i am running but is shows #Error in what should be Unavaiable
Status: IIf([Date Borrowed]="Date","Unavailable","Available")
SQL Statement
SELECT tblauthortitle.Author, tblauthortitle.[Book Title], tblauthortitle.[Borrowed By], tblauthortitle.[Date Borrowed], tblauthortitle.[Return Date], tblauthortitle.Lender, IIf([Date Borrowed]="Date","Unavailable","Available") AS Status
FROM tblauthortitle;
Thank You.
Gus