>The Problem: I need to Create a query that lists overdue items, the person
>borrowing them, and computes the amount of the fine due. The fine will be
[quoted text clipped - 25 lines]
>The DateDue and Date Returned is from the Lending table then the first and
>last name from the Borrowers table.
You are missing some parenthesis and a multiply. The square
brackets are optional with your table and field names so I
didn't bother with them. Also, you should use dot instead
of exclamation between the table and field names.
I think this should be close:
FineDue:1+(tblLending.DateReturned-tblLending.DateDue)*.01*tlbItems.Value

Signature
Marsh
MVP [MS Access]
Gonzal - 21 Apr 2008 19:46 GMT
Thank you very much for responding, I will check it out!
> >The Problem: I need to Create a query that lists overdue items, the person
> >borrowing them, and computes the amount of the fine due. The fine will be
[quoted text clipped - 34 lines]
>
> FineDue:1+(tblLending.DateReturned-tblLending.DateDue)*.01*tlbItems.Value
Steve Sanford - 22 Apr 2008 10:56 GMT
Another problem might be that you have a field named "Value". "Value" is a
reserved word and shouldn't be used for object names. Also it is not very
descriptive... "ItemValue" might be a better name.
For a list of reserved words in Access, Jet, MS Query and SQL Server, see
http://allenbrowne.com/AppIssueBadWord.html
HTH

Signature
Steve S
--------------------------------
"Veni, Vidi, Velcro"
(I came; I saw; I stuck around.)
> Thank you very much for responding, I will check it out!
>
[quoted text clipped - 36 lines]
> >
> > FineDue:1+(tblLending.DateReturned-tblLending.DateDue)*.01*tlbItems.Value