473,657 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accommodating several one to many relationships in a single form.

Jerry Maiapu
259 Contributor
This is simple question but I know if solved could greatly assist many data entry clerk today, in the way they do data entry.

I have about 13 tables and are married to each other with one to many relationships.
Ok about 12 of them are basically tables containing certain list of values.

So basically I have a circular type relationship where there a table1 in the middle with the rest connected to table 1 having a one to many relationship. Table 1 is the many side while the rest are the one side. Because of this conglomerate of tables having a many side to table 1, most have right-joined- type of one to many relationship.

Now, to make data entry easy, I was asked weather or not it was possible to create a single form and to enter data instead of sub forms. It was also suggested if it was possible to pick from combo list values that is sourced from the other tables within a single form bound to table 1. Does anyone have any ideas on how to achieve this?

It really challenges me especially for those tables that have a further one to many relationships after table 1.

So the idea is:

1. Single form to be used comprising of combo boxes where data source of combos will be the other tables connected to table 1(no sub form /data sheet view required)

2. All other table has definite list values (No entry required) except for table 1 which is the many side and the centre point of all tables’ relations. That is where data entry is done and form is bound to.

3. Other tables have a further one to many relationships. For example: Table1 (many side) connected to table2 (one side) - further connected to table 3 (many side).
Table 1 requires data entry table 2 and 3 doesn’t. They have definite values that will be inputted.

4. Combo filtering based on combo will be required as when a value in combo1 sourced from say table 2 is selected combo2 from table 3 should be filtered based on combo1 value.

This has become quite a puzzle to me and I am trying to figure it out.
Does anyone have any brilliant idea? I would very much appreciate.

JM
Jun 30 '11 #1
2 2201
mshmyob
904 Recognized Expert Contributor
This is a confusing post but I will make a stab at it.

Your question if a single form can access data from multiple tables is answered with a YES it can easily be done.

You can use combo boxes or list boxes obviously (these would be used to populate the foreign keys). To get access to other fields in other tables you can simply create a query that uses as many tables and fields you want from each table and then bind the form to the query instead of a table and you therefore have access to all the fields you need.

Combo box "filtering" based on values from other combo boxes can be done. It is called cascading combo boxes. There is an article on Bytes about it here.

cheers,
Jul 1 '11 #2
Jerry Maiapu
259 Contributor
Thanks did that..I am sorry for posting this qusetion I think this was such a simple qiuestion. I would have figure it out myself.
Thnaks anyway..
Jul 3 '11 #3

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

Similar topics

2
1376
by: Matt C. | last post by:
I've got an application that has several distinct functions. I'd like to make these available as different screens that the user can switch between within a single form, using commands from the main Menu. (The "primary" form serves only as a container for the Menu and the other screens.) In VB 6, I was able to get a nice expression of this by using always- maximized MDI children inside an MDI parent. Unfortunately, I don't seem to...
2
2220
by: Andrea | last post by:
I'm having some difficulty creating a report in Access and I need some suggestions. My company issues "Return Authorizations" when customers need to return products. A customer calls in and we provide the number. The customer then returns items for a refund or for an exchange. Here is the basic set up of the tables in question. -ReturnAuthorizationTable- ReturnNumber_PK CustomerID ReturnType
2
2688
by: Megan | last post by:
hello everybody, i know this is a very long post, but i wanted to provide as much detail as possible. quick overview- i want to create a couple of many to many relationships and am wondering how many relationships to create. i am also trying to figure out what relationships to create.
2
1798
by: Cin | last post by:
I have a one-to-many relationship that I would like to convert to an unbound checkbox or radio buttons within a form. On form (pulls from tblEquipment) user can select one or all three choices from table luCategory. Instead of putting a subform within another subform, within another subform. Want to be able to put in checkboxes for each of the 3 choices so that all could be selected, but it would link to TblEquipmentCategory and...
5
2980
by: Robert | last post by:
I am very new to .net and asp.net. I am trying to design an intranet page that has a SQL Server 2000 database. I understand how to connect to the data but am getting very confused on how to display, update and modify data in a one to many relationship. Is there any resource available that can show me how a web form looks when the data is in a one to many relationship. I've done work in MS Access and it was very easy using sub forms...
3
1710
by: john | last post by:
I have a form with Members and in that form a subform with Transactions. Those are linked (on banknr) 1xM which I've set in the database relations. Now I would like to copy the form and modify it. I would like Transactions to become the main table in the form so I can filter all new Transactions (seems like a Mx1 relation). When new transactions have arrived I would like to go through them one by one, and make some changes in the linked...
22
3211
by: banderson | last post by:
Hello I'm new to developing databases in Access and using Access2003. I have a dataset with a few many to many relationships that I have created linking tables for to make multiple 1:M relationships. My problem is trying to figure out a set of forms and subforms for this data in which the users can enter new data in a straightforward way. In my dataset there are: Buildings, Contacts, addresses for buildings and contacts, and different types of...
2
3385
by: burntbit | last post by:
I've been trying to select the 2nd form out of 20+ forms in a page. And it happens to be the only form in the page with a name 'send_form'. I've tried br.select_form(nr=1) and br.select_form(name='send_form') and for f in br.forms(): if f.name != None: br.select_form(name=f.name)
6
1354
by: ahetland | last post by:
Greetings! I am currently working on a fairly large Access project for my employer (an insurance company). In addition to the main menu and a number of forms, I have 18 separate forms, which fulfil essentially the same functionality, albeit with enough variation to make it difficult to fit it into a single form altogether. It almost goes without saying, that even minor layout changes are a major inconvenience. I would like to ask you, if you...
0
8395
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6166
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.