H
Hank in KC
I recently discovered a flat file from a 20 year-old program written for LP
albums, song titles and singers. The file is essentially a spreadsheet with
three fields: AlbumTitle, SongTitle and ArtistName. Obviously, there is an
unacceptable quantity of duplicated data. (I was able to get the file into
Excel format then import it into Access.)
I constructed three tables: tblAlbums, tblSongs, and tblArtists. Each table
has two fields: AlbumID, AlbumTitle, SongID, SongTitle, and ArtistID,
ArtistName. I next used three separate append queries with autonumber
primary keys to populate the tables.
So far I have been unable to bring the primary key values back into the
initial table tblAlbums-Songs-Artist. I have added the foreign keys (type
number) to this table, but am unable to get these fields populated
correctly.
albums, song titles and singers. The file is essentially a spreadsheet with
three fields: AlbumTitle, SongTitle and ArtistName. Obviously, there is an
unacceptable quantity of duplicated data. (I was able to get the file into
Excel format then import it into Access.)
I constructed three tables: tblAlbums, tblSongs, and tblArtists. Each table
has two fields: AlbumID, AlbumTitle, SongID, SongTitle, and ArtistID,
ArtistName. I next used three separate append queries with autonumber
primary keys to populate the tables.
So far I have been unable to bring the primary key values back into the
initial table tblAlbums-Songs-Artist. I have added the foreign keys (type
number) to this table, but am unable to get these fields populated
correctly.