P
Peter Morris
Hi all
I never thought I'd be posting a question in the Access group
I have a relative with a very simple 3 table database.
Book 1---* BookIndex *----1 Song
Book
ID AutoNumber
Name Text
Song
ID AutoNumber
Name Text
BookIndex
BookID Number
SongID Number
PageNumber Number
He uses it (surprise surprise) to catalogue which songs are in which books
(music scores) so he can look them up quickly. The problem is that he has
to first ensure that all the songs in the book are in the Songs table. So
his method of working is
1: Add the book
2: Open the song table
3: Try to add the song
4: If it complains of a duplicate hit ESC
5: If no complaint then continue from step 3 until all songs are entered
6: Open BookIndex
7: For each song in the book type in the name of the book + the name of the
song
In step 7 typing in the name of the song will auto-lookup the song ID for
him to give his referential integrity, but it's very time consuming having
to type every song twice. He's asked me if I can change it so that he can
skip steps 3-5 and just type the Song name in the BookIndex table so that
Access looks up the song as usual but adds it to the Song table if it
doesn't already exist.
I normally write DB apps but I know nothing about Access at all. I was
wondering if this is possible, and if so how?
Thanks
I never thought I'd be posting a question in the Access group
I have a relative with a very simple 3 table database.
Book 1---* BookIndex *----1 Song
Book
ID AutoNumber
Name Text
Song
ID AutoNumber
Name Text
BookIndex
BookID Number
SongID Number
PageNumber Number
He uses it (surprise surprise) to catalogue which songs are in which books
(music scores) so he can look them up quickly. The problem is that he has
to first ensure that all the songs in the book are in the Songs table. So
his method of working is
1: Add the book
2: Open the song table
3: Try to add the song
4: If it complains of a duplicate hit ESC
5: If no complaint then continue from step 3 until all songs are entered
6: Open BookIndex
7: For each song in the book type in the name of the book + the name of the
song
In step 7 typing in the name of the song will auto-lookup the song ID for
him to give his referential integrity, but it's very time consuming having
to type every song twice. He's asked me if I can change it so that he can
skip steps 3-5 and just type the Song name in the BookIndex table so that
Access looks up the song as usual but adds it to the Song table if it
doesn't already exist.
I normally write DB apps but I know nothing about Access at all. I was
wondering if this is possible, and if so how?
Thanks