Hi
I have a few problems here and hopefully you all can help me.
Basically I will need to create this song database where I can input song fields into the database like artist name, album name etc.
My Relationship is as follow
Record Company ---> Artist ----> Song ------> Album
*************** *************** *********** |
*************** *************** ***********Genr e
Please ignore the asterix
For Record Company:
Record Company ID (Primary Key)
Record Company name
For Artist:
Artist ID (Primary Key)
Artist Name
Company ID
For Song:
Song ID (Primary Key)
Song Name
Album ID
Artist ID
Genre ID
Duration of Song
For Album:
Album ID (Primary Key)
Album Name
For Genre:
Genre ID (Primary Key)
Genre
I created an input dorm which includes
Album ID
Album Name
Artist ID
Artist Name
Genre ID
Genre
Record Company ID
Record Company
Song ID
Song Name
Duration
However, I cant key in information for Artist ID, Artist Name, Song ID, Song Name and Duration.
It gives me the error Cannot add records; Join key of table " " not in recordset. So what can be the problem here?
My 2nd problem is I created a search form with a macro "openquery" linked back to the query which searches for some fields like song name, artists name and genre etc.
My query criteria uses the Forms!Formname! controlset! format
Currently it can only search for one field at a time. So if I want to search for a song which fulfils the Song Name and Artist I which type, the results does not show up correctly. What can be the problem here?
I have a few problems here and hopefully you all can help me.
Basically I will need to create this song database where I can input song fields into the database like artist name, album name etc.
My Relationship is as follow
Record Company ---> Artist ----> Song ------> Album
*************** *************** *********** |
*************** *************** ***********Genr e
Please ignore the asterix
For Record Company:
Record Company ID (Primary Key)
Record Company name
For Artist:
Artist ID (Primary Key)
Artist Name
Company ID
For Song:
Song ID (Primary Key)
Song Name
Album ID
Artist ID
Genre ID
Duration of Song
For Album:
Album ID (Primary Key)
Album Name
For Genre:
Genre ID (Primary Key)
Genre
I created an input dorm which includes
Album ID
Album Name
Artist ID
Artist Name
Genre ID
Genre
Record Company ID
Record Company
Song ID
Song Name
Duration
However, I cant key in information for Artist ID, Artist Name, Song ID, Song Name and Duration.
It gives me the error Cannot add records; Join key of table " " not in recordset. So what can be the problem here?
My 2nd problem is I created a search form with a macro "openquery" linked back to the query which searches for some fields like song name, artists name and genre etc.
My query criteria uses the Forms!Formname! controlset! format
Currently it can only search for one field at a time. So if I want to search for a song which fulfils the Song Name and Artist I which type, the results does not show up correctly. What can be the problem here?
Comment