Re: personal library
- From: "Duane Hookom" <duanehookom@xxxxxxxxxxxxxxxxxx>
- Date: Sun, 18 Dec 2005 13:04:57 -0600
You can make sure your combo box's row source includes any fields from the
books table that you want to display on your form. For instance:
SELECT BookID, BookTitle, Author, Pages, Publisher
FROM tblBooks
ORDER BY BookTitle;
Then assuming your combo box name is cboBookID, you can use text boxes with
control sources like:
=cboBookID.Column(2) 'shows the author
=cboBookID.Column(4) 'shows the publisher
--
Duane Hookom
MS Access MVP
"samuel" <samuel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A23525EF-60D5-42F4-B51E-099BA65A0CB6@xxxxxxxxxxxxxxxx
>i am building a database for all the books in my library.
>
> i have one master table Books
>
> i want to use a form to keep a record of checking out a book. i want to
> use
> a combo box to select the [title] of a book
>
> display related fields from the books table. i'm not sure how to relate
> the
> text boxes on the form to the combo box.
>
>
.
- Prev by Date: Re: Form linked to table but will not add data to table
- Next by Date: Modifying Lock Properties of a subform
- Previous by thread: A form for repetitive entries
- Next by thread: Modifying Lock Properties of a subform
- Index(es):
Relevant Pages
|