Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8310177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:22:01+00:00 2026-06-08T19:22:01+00:00

I find that examples are the best way to describe problems in relation to

  • 0

I find that examples are the best way to describe problems in relation to rdms so I’ll dive straight into a (fairly contrived) one.

I have a fruit-store table and a fruit table. I have built a user interface (form) for the greengrocer (who owns a chain of such stores, and intends buying many more) so that he can easily fill in the details concerning his stores, and the fruit that can be sold in them.

Each fruit has its own unique ID, as does each store. However fruit is not limited to any particular store, but may be sold in any number.

As such there is an intermediate table storeFruit which enables a many-to-many relationship between the store and fruit.

store fruit relationship

The greengrocer wants to be able to list out the stock (which consists only of fruit) of his store as he is putting in the other details about the store, like the address and phone number. Consequently there is a field in the form to list the fruit contained within the store. The only thing it has to do in the fruit table is correlate the fruit with the relevant store.

I have created a combobox which displays a particular fruit, but the field has no bearing on any table. Indeed, if you select banana and move to the next store in the form, banana will stay in the field, highlighting how it has no bearing on the information input. I have also created a subform (fruit), but this does not allow the ability to pick from a predefined list… it will end up with lots of “unique” (as in unique Fruit_ID) apples, pears, etc, as they are merely appended to the table. fruit essentially represents a predefined list.

So how might I bind this combobox such that it updates the required fields properly, and thus alleviate the stress of my fictional flummoxed greengrocer?

PS: looking at the diagram I realise that the stock column in the store table will never actually be used due to the nature of the relationships – but I created these tables and relationship diagram on the fly without saving, as I won’t ever be using them, so it’s too late to rectify it now!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:22:03+00:00Added an answer on June 8, 2026 at 7:22 pm

    The usual way to set this up is with store in the main form and storeFruit in the subform. The link child and master fields should be set to store_ID. The_fruit_in_question becomes a combobox with a row source set to fruit ( select fruit_ID, fruit from fruit ), the bound column is 1 and the column widths are, say, 0, 2cm.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In most examples that you find on the web when explicitly not using using,
I find it hard to find clear examples that would explain how to read
I'm trying to use PyLucene, and I can't find any code examples that actually
I'm struggling to find examples, blogs etc that explain how to use the !?
When configuring nginx with a site that has ssl, the examples I find online
How can I find elements that has at least one attribute? Example: <tr>...</tr> <tr
As this question is hard to describe, that's the best title i could come
Most of the jQuery and jQuery UI examples that I find have the scripts
I have a 1 to 1 map. What's the best way to find keys
Given a list of assorted length words, what is the best way to find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.