Expression help

From: Kevin (anonymous_at_discussions.microsoft.com)
Date: 03/31/04


Date: Wed, 31 Mar 2004 12:32:55 -0800

Create an expression in your Query in a new column. Expr1:
IsNull([Loan Returned])

set your Criteria for Expr1 to = False

Only books with a Loan Returned value would show up.
These books should be available

Kevin

>-----Original Message-----
>HI there, I currently have a database which records book
>Loans.
>
>I am creating a Loan query which currently has the
>fields:
>
>Student Name
>Book Number
>Loan Date
>Loan Due
>Loan Returned
>Days Late
>Fine Amount
>
>What expression or form of validation could I use to show
>only books available and stop anyone taking out a book
>which is out on loan.
>
>and
>
>What expression could I use to prevent a book from being
>renewed more than twice by the same student.
>
>I do not have a renewed field I would like to add it to
>my Loan query with the others I just need an expression
>to do so.
>
>if this helps my table relationships are:
>
>STUDENT LOAN INSTANCE BOOK
>
>Student Name Student Name Book Number ISBN
>Age Book Number ISBN Author
>Class Loan Date Instance Number Genre
> Loan Due Department
> Loan Returned Age Group
> Fine Publisher
> Book Title
>
>
>
>Thanks
>
>.
>



Relevant Pages

  • Re: Help
    ... anything from the gentle prodding of other responders to continue in the ... > I've jut finished doing a query to show information about ... > students who loan books. ... > Student Name Student Name Book Number ...
    (microsoft.public.access.queries)
  • Renew field for library database
    ... You might try making a totals query based on Loan Table. ... Group by student name, group by book number, and count by ... >I do not have a renewed field I would like to add it to ...
    (microsoft.public.access.queries)
  • Re: Library Database
    ... What's the SQL of your query? ... "Marko" wrote in message ... > students who loan books. ... > Student Name Student Name Book Number ...
    (microsoft.public.access.queries)
  • running a query in a loop
    ... I have a small database in Access 2002 which records commission payments made to a loan broker. ... The following query searches for any months that a commission payment was not received for a particular Loan number. ... Dim dbs As DAO.Database ...
    (microsoft.public.access.modulesdaovba)
  • RE: Creating expressions
    ... Use an update query that would increment the ... same student" part. ... >Loan Date ... >Microsoft Security Bulletin MS03-026? ...
    (microsoft.public.access.queries)