473,386 Members | 1,720 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,386 software developers and data experts.

Subform and Mainform

Hi All,
I have been racking my brain for sometime in trying to resolve this and now I am just wiped out.

MS-Access 2003

I have a main form that contains several selection options (combo boxes). This main form is opened with an argument from another form and this main form is bound to a table.

The main form has a subform that is bound to query that contains a set of records based off the opening argument from the main form.

When the save button is hit I want to write a record to the bound table of the main form for each of the records in the subform and combining the selections from the main form.

Here an example:

SUBFORM

recordA
recordB
recordC


MAINFORM

selection1
selection2
selection3
selection4

When the save button is hit I would like these records added to the table.

Autonumber, recordA, selection1, selection2, selection3, selection4
Autonumber, recordB, selection1, selection2, ,
Autonumber, recordC, seletion1, selection2, ,

I hope that I am making sense here in what I would like to accomplish. Any input would be greatly appreciated.

Kindest Regards,
Gblack301
Feb 20 '09 #1
3 1484
RuralGuy
375 Expert 256MB
You are really struggling *against* normalization rules. You may wish to read up on Normalization. Google will help there.
Feb 21 '09 #2
OldBirdman
675 512MB
Or try http://bytes.com/topic/access/insigh...ble-structures in this forum.
Feb 21 '09 #3
NeoPa
32,556 Expert Mod 16PB
It will mean redesigning the structure of your tables, and the relationships between them, but should give you more flexibility and ease of manipulation in the long run.
Feb 21 '09 #4

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

Similar topics

0
by: Sabine Oebbecke | last post by:
Hi Experts! I have several forms and reports where controls get their values with 'Forms!MainForm!Control' or 'Forms!MainForm!Subform!Control' resp 'Forms!MainForm!Subform.Form!Control' which...
0
by: P Mitchell | last post by:
Hello I would like someone to be able to help with the updating of data in a lookup list in a subform. In short, is their a VB instruction that is the equivalent of performing the action of...
1
by: planetthoughtful | last post by:
Hi All, I have a mainform with a subform in which I show some task summary data. On the mainform I have a number of unbound controls that reflect values relevant to each task in the subform....
2
by: John | last post by:
I have a mainform with a subform. The subform is sorted on a specific field and when I just open the subform, the sorting is OK. However, when I open the mainform, the sorting in the subform is...
18
by: Robert Jacobs | last post by:
Please advise... I currently have a Mainform (Customers) and a Subform (Service Requests) with a one to many relationship (one customer, many service requests) with a CustomerID that is unique...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.