Results 1 to 6 of 6
  1. #1
    iansan5653 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    11

    Question Need help creating library report

    I just became the librarian for my Boy Scout troop, and we needed a Database to track the books (available, overdue, etc.)



    So here is what I have so far:
    I have 1 main table (Books) with fields: book name (text), published date (yyyy), and base cost (U.S. Currency).

    I also am going to have 1 table for each book to track who checks it out with the fields: first name (text)*, last name (text)*, email address (text)*, phone number (text), checked out* (Short Date), Due Date (short date calculated: [checked out]+14), returned (Short Date), and available (Yes/No calculated: IIf(IsNull([returned]),False,True) )

    Now what I need to do is create a report with one line for each book (that is the easy part, I will just use the fields in the main table). The only other data I want on that report is a column of checkboxes showing what books are available. The problem I am having is getting only the last checkbox in each of the books tables to show on the lines of their respective books. I also want to do the same type of thing and detect the overdue books. So ideally I would have a report like this:


    HTML Code:
    <table border="1" bordercolor="" style="background-color:" width="100%" cellpadding="3" cellspacing="3">
    <tr>
    <td>Book Name</td>
    <td>Date Published</td>
    <td>Value</td>
    <td>Available</td>
    <td>Overdue?</td>
    </tr>
    <tr>
    <td>Book1</td>
    <td>1999</td>
    <td>$6.00</td>
    <td>No(unchecked checkbox)</td>
    <td>No</td>
    </tr>
    <tr>
    <td>Book2</td>
    <td>1997</td>
    <td>$3.00</td>
    <td>Yes(checked checkbox)</td>
    <td>No</td>
    </tr>
    <tr>
    <td>Book3</td>
    <td>2011</td>
    <td>$9.00</td>
    <td>No(unchecked checkbox)</td>
    <td><span style="color:red;font-weight:bold;">Yes</span></td>
    </tr>
    <tr>
    <td colspan="2"></td>
    <td>$18.00</td>
    <td></td>
    <td><span style="color:red">1 book(s) overdue</span></td>
    </tr>
    </table>
    view HTML using Draacs HTML tester. I can generate HTML for the tables too, if needed.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    This is an Access site. If you need help with html web code need to post question in an approrpriate form. Check this one out http://forums.aspfree.com/html-javas...nd-css-help-7/

    1 table for each book - bad design!

    You might look at the MS Lending Library database template http://office.microsoft.com/en-us/te...010206883.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    iansan5653 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    11

    Smile I wasn't asking about the HTML

    Just to let you know, I wasn't asking about the HTML, that was just the easiest way to show the example. I will check out the database you sent.

    Thanks, Ian

  4. #4
    iansan5653 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    11
    OK, so this database was the perfect fit, exactly what I wanted. One last thing, and this does have to do with HTML/web designing. Is there a way to embed a report (not the entire database) into a wordpress.com blog? I want it to be updated every time the page is refreshed. This way all the members of the troop can see what there is to be checked out.

    I looked at report snapshots, but I don't understand how that works, and I don't know if it will automatically update.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Here's how to show tables in forum post
    https://www.accessforums.net/forum-s...post-2869.html

    Have no idea how to get dynamic report onto web page. Now you really do need to check out another forum.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    iansan5653 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    11

    Thumbs up Thank you

    OK, Thanks. I think that is probably going to need to be a new post altogether.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Lending Library help
    By sarahlou89 in forum Access
    Replies: 3
    Last Post: 12-12-2011, 08:29 AM
  2. Upload Report to SharePoint Library
    By Lorlai in forum SharePoint
    Replies: 2
    Last Post: 09-22-2011, 01:39 PM
  3. Report that Pulls from two Forms - Lending Library
    By Surferboy1500 in forum Access
    Replies: 8
    Last Post: 06-07-2011, 12:13 PM
  4. library statistics
    By sonia in forum Access
    Replies: 1
    Last Post: 04-11-2010, 12:22 PM
  5. Stores Library
    By martyparty2006 in forum Forms
    Replies: 5
    Last Post: 05-05-2009, 09:16 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums