Lending Library

M

MsJBossy

I am in the process on doing inventory on my book collection. I recently
downloaded the lending library access template, I wanted to know, does anyone
have any suggestion of how I can enter information about multi-authors in one
book entry? I want to be able to make refers to co-authors in the book.
Please help.........
 
A

Allen Browne

Okay, I haven't download the library template, but it sounds like it is not
set up for multiple authors.

Perhaps you could set up some tables like this:

tblAuthor (one record for each person), with fields:
- AuthorID AutoNumber primary key
- Surname Text
- FirstName Text

tblBook (one record for each book), with fields:
- BookID AutoNumber primary key
- BookTitle Text
- ISBN Text
- PublisherID Number relates to publisher table
- PublishYear Number

tblBookAuthor:
- BookID Number relates to tblBook
- AuthorID Number relates to tblAuthor
- Priority Number tells which order to list the authors in

So if a book has 3 authors, that BookID will have 3 records in the last
table. The primary key could be the combination of the 2 fields BookID +
AuthorID (so an author cannot be listed twice for the same book.)

You will have a separate form where you enter authors. The form where you
enter a book will have a subform bound to the tblBookAuthor table. The
subform will be in continuous view, and you add as many rows as you need
authors for that book.

At some point, you are going to come back and ask us how you search for
books by author. When you hit that problem, see:
Filter a Form on a Field in a Subform
at:
http://allenbrowne.com/ser-28.html

Finally, you might want to consider how disparate are the items you need to
lend. Might they include periodicals? CDs? DVDs or videos? If so, you will
need to adapt the structure suggested above to things other than authors
(e.g. producer, director, song-writer, recording studio, ...)
 
F

Fred Boer

Dear MsJBossy:

In addition to Allen's excellent answer, I thought you might be interested
to know that there is a Microsoft template which demonstrates adding
multiple authors. It is for Access 2000, but will work in Access 2007. It is
available here:

http://office.microsoft.com/en-us/templates/TC010186431033.aspx?pid=CT102144001033

You might also like look at the demo library application I have made
available which shows another implementation of multiple authors (and
subject headings).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top