473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Many to many: Entering data in forms for many to many relationship displayed in form

Hello everyone,

I've built a database with many-to-many relationships which is basically the same as the one in the link, but instead of artists having albums with genres, components have failure modes with genres.

http://www.databasedev.co.uk/many_to_many_example.html

I'm referring to the form "View albums by artist".

What I need in the form is:
Artist ID
Artist Name

Then, instead of a dropdown box which allows me to select the album ID, I need a dropdown box which allows me to select the Genre of the album. Having selected the Genre, all of the albums associated with the artist of that genre should appear.

For example:

Artist ID 1
Artist Name U2

Genre "Rock" is selected.

Album ID, Album Name automatically appear:

3 Heathen Chemistry
7 The Joshua Tree

with a box next to them which allows additional information to be entered for that entry by the user (for example, a comment about any additional details necessary).

Thanks a lot.
Nov 3 '10 #1
4 2673
ADezii
8,834 Expert 8TB
Just subscribing for now, will return later.
Nov 3 '10 #2
Thanks, see you later.
Nov 3 '10 #3
ADezii
8,834 Expert 8TB
To demonstrate how do all that you have requested would be a little time consuming, to say the least. What I did to help you along is to Download the Demo and make some modifications to it. On the View Albums by Artist Form, I placed a Select Genre Combo Box in the Upper Right Corner. Selecting a Genre will now Open a New Form displaying all of the Albums associated with the Current Artist displayed on the Form, for the chosen Genre. This, hopefully, will at least point you in the right direction. Download the Attachment and judge for yourself. Good Luck.
Attached Files
File Type: zip Albums.zip (26.2 KB, 85 views)
Nov 3 '10 #4
Hello again. I just tried your example and it works. However, it's not exactly what I need. I have 2 Linking tables in the database: tblLink_Artist_Album and tblLink_Album_Genre which I added. (many to many).

When I select the Genre for a specific Artist, the Albums of that genre for that Artist should appear, WITHOUT having to enter that data into the form previously (the Artist-Album demo does require that you input the albums associated with each artist previously). I've tried to do it, without success. Thanks and regards.
Nov 4 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: WindAndWaves | last post by:
Hi Gurus Here is another question that I have been struggling with for over a year. Basically, I would like to allow users to enter data into three tables in at the same time. The reason it...
2
by: carrionk | last post by:
Hi, Which are the options for publishing access information over an Intranet? Besides ADPs, are there any programs I can use for letting people use Forms of an Access DB inside IE? I've been...
2
by: jayderk | last post by:
I am writing an application that has I/O entering data in a text field. My question is. does the event "textchanged" fire as soon as the data starts changing.. for example... if 12345 is being...
1
by: popsovy | last post by:
I am new to the discussion groups and to the .NET world, so this is probably a very basic question.. Is there any quick way in .NET to auto-generate data forms from typed datasets or SQL queries?...
1
by: Savas Ates | last post by:
i was given an url bla bla.wsdl i am asked for entering data using this wsdl url? is it possible? how can i do it? must i use asp.net werb services .. any url or example or way t solve it...
0
by: dave.dolan | last post by:
Ok, I'm using an XSL to generate the content div of a page. I'm using http://script.aculo.us to do some asynch posting and getting so that I don't actually have to have the server know what I've...
14
by: rbowman40 | last post by:
I am trying to design a form in which a category (field in a table) is selected from a combo box, then a value for that category is entered in a form field. I want that value to be placed in the...
3
by: Ciara9 | last post by:
I am using Access 2003 and have 2 tables. One has customer information in it (such as name,dates,amount, etc...) and the 2nd table is more of a Comments table (displays username, time and date, and...
1
by: vvasnm | last post by:
Hi This is surya, I am struggling with one issue regarding the updation of the value in the sub form ,when the related data has been deleted from the data sheet view of the main form. I am...
4
by: lulaging2000 | last post by:
After entering data in the first text box I want to make the second text box to get focus when the Enter key is pressed instead of Mouse and Tab control. Is there any way to do that by making the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.