C
coast.foundation
From an O'Reilly book, I've created a sample database. the relevant
tables are: Author, Book and AuthorBook.
obviously, AuthorBook is a "junction" and only contains foreign keys
(ISBN and AuthorID) in addition to it's own key. My form for data
entry uses comboBoxes to create the pairings in AuthorBook. The form
displays the key to AuthorBook, the two foreign keys to AuthorBook,
and then uses ComboBoxes to select from books and authors. all this
is very nice and straightforward, I think. (admittedly, the fields
from AuthorBook should be invisible, but I've left them visible for
now.)
However, how do I enter *new* authors from *this* form? I'm typing
away, *selecting* author/book pairings for data entry, but now I need
to enter a new, unheard of author. The comboBox gives an error
whenever I attempt to do so.
the relevant links are:
http://safari.oreilly.com/0596002734/ the raw data
http://www.geocities.com/files/BookAuthorPublisher.mdb/ my sample
thanks,
(e-mail address removed)
tables are: Author, Book and AuthorBook.
obviously, AuthorBook is a "junction" and only contains foreign keys
(ISBN and AuthorID) in addition to it's own key. My form for data
entry uses comboBoxes to create the pairings in AuthorBook. The form
displays the key to AuthorBook, the two foreign keys to AuthorBook,
and then uses ComboBoxes to select from books and authors. all this
is very nice and straightforward, I think. (admittedly, the fields
from AuthorBook should be invisible, but I've left them visible for
now.)
However, how do I enter *new* authors from *this* form? I'm typing
away, *selecting* author/book pairings for data entry, but now I need
to enter a new, unheard of author. The comboBox gives an error
whenever I attempt to do so.
the relevant links are:
http://safari.oreilly.com/0596002734/ the raw data
http://www.geocities.com/files/BookAuthorPublisher.mdb/ my sample
thanks,
(e-mail address removed)