473,779 Members | 2,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem linking Child/Master fields correctly

Hi,

i have a form linked to a table.
Because it is a very large form, i placed a tab control in it with
sub-forms, that correspond to the same table. If i link them with the
primary key (autonumber) i get an error on data entry. If i use other
fields, they are not unique and the date entered is not stored.

how can i solve my problem, so that everything is displayed well and all
entries are stored?
regards, Oli
Nov 13 '05 #1
4 1573
"Oliver Gabriel" <ti****@allgaeu .org> wrote in message
news:dh******** *@svr7.m-online.net...
Hi,

i have a form linked to a table.
Because it is a very large form, i placed a tab control in it with
sub-forms, that correspond to the same table. If i link them with the
primary key (autonumber) i get an error on data entry. If i use other
fields, they are not unique and the date entered is not stored.

how can i solve my problem, so that everything is displayed well and all
entries are stored?
regards, Oli


What is the point of using subforms? Why not use the tab control (as you
have done) to split up the data so the user is not overwhelmed by a vast
numbers of controls, but you can do this without subforms.
I can think of a possible reason you might want subforms, but any advantage
is outweighed by the complications it would cause - e.g. you lose the
ability to use built-in search/sort/filter methods.

Nov 13 '05 #2
Break up the fields from your table in logical groups and put each group on
its own tab page. You don't need subforms.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com
"Oliver Gabriel" <ti****@allgaeu .org> wrote in message
news:dh******** *@svr7.m-online.net...
Hi,

i have a form linked to a table.
Because it is a very large form, i placed a tab control in it with
sub-forms, that correspond to the same table. If i link them with the
primary key (autonumber) i get an error on data entry. If i use other
fields, they are not unique and the date entered is not stored.

how can i solve my problem, so that everything is displayed well and all
entries are stored?
regards, Oli

Nov 13 '05 #3
Brian Wilson wrote:
"Oliver Gabriel" <ti****@allgaeu .org> wrote in message
news:dh******** *@svr7.m-online.net...
Hi,

i have a form linked to a table.
Because it is a very large form, i placed a tab control in it with
sub-forms, that correspond to the same table. If i link them with the
primary key (autonumber) i get an error on data entry. If i use other
fields, they are not unique and the date entered is not stored.

how can i solve my problem, so that everything is displayed well and all
entries are stored?
regards, Oli

What is the point of using subforms? Why not use the tab control (as you
have done) to split up the data so the user is not overwhelmed by a vast
numbers of controls, but you can do this without subforms.
I can think of a possible reason you might want subforms, but any advantage
is outweighed by the complications it would cause - e.g. you lose the
ability to use built-in search/sort/filter methods.


I think i will do so... anywas.. there must be a solution?
regards, Oli
Nov 13 '05 #4
Oliver Gabriel wrote:
I think i will do so... anywas.. there must be a solution?


Yes, the solution is don't use subforms.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1387
by: David Gunnarsson | last post by:
I'm using Access as a front-end to a MySql database, through ODBC. I have a form set up for entering information about projects and that form has, among other things, a subform where you can select people associated with the project, from another table. When I enter a new record and assign people to a project everything is fine. Then when I change the id of the record (project id) and save, the subform goes blank and people are still...
4
7018
by: Dave Boyd | last post by:
Hi, I have two very similar forms each with a subform. The main form gets a few fields from the user and passes this back to a query that the subform is bound to. The requery is done when the user enters the last qualifying field on the main form. In one case this works fine, the subform shows the data the user wants to update -- which means showing all the data put in previously (ie showing this via the requery and the continuous...
1
2079
by: Terry | last post by:
Hello, Has anyone experienced the following problem following an Upsize from Access 97 to SQL 2000 using the MS Upsize Wizard? Or can anyone see what the problem might be. Before Upsize (Access 97 front end and Access 97 tables): A MainForm loads up correctly and then I enter a ReferenceNumber value in a MainForm field control. I then click on the first field of a SubForm, the ReferenceNumber then shows at the top of the SubForm and...
1
2811
by: santociabattari | last post by:
Hi Folks, I have 3 forms I want to link, so that when I advance 1 record in one form it will update the other two with the same record in the first form. I have tried using the form wizard (I am not an Access pro), but when I add the fields of 3 tables the wizard balks. I have been told to use the link master, but it is greyed out when I try linking. I can use Access 2000 or 2003
9
9701
by: Ecohouse | last post by:
I have a main form with two subforms. The first subform has the child link to the main form identity key. subform1 - Master Field: SK Child Field: TrainingMasterSK The second subform has a master-child link to the first subform. subform2 - Master Field: subTrainingModule.Form!TrainingModuleTopicSK Child Field: TrainingModuleTopicSK
0
1746
by: Mary | last post by:
I have a main form with one subform that is used to record test scores. The main form has the following fields: WratStudentID ( a combo box with 2 fields - student id and student name - . Stores the id) WratGradeLevel WratDateAdmin (mm/dd/yyyy) WratForm
3
2245
by: Robert McEuen | last post by:
Using A2K3, Windows XP I'm handling a many-to-many relationship with a linking table structure as follows (irrelevant fields omitted): tblIssue PK_IssueID (autonumber, primary key) IssueName (text) tblArea
2
8389
by: darnel | last post by:
I have 4 hierarchical tables and want to display it all together as a form and 3 subforms, when subform displays (and allow to add/edit) only relevant items from each superior subform. Tables are: Clients --> linked thru id_client --> Orders --> linked thru id_order --> Licences --> linked thru id_licence --> Regkeys Access' Form Wizard allows only form + 2 subforms. I tried to create last subform and its link manually, but I'm not...
3
2588
by: 6afraidbecause789 | last post by:
Think school - students - discipline interventions - misbehaviors - staff for this one....On a mainform frmStudentInterventions, I have linked a subform (sfrmMisbehaviors) with another subform (sfrmInterventions) with the Child and Master fields "InterventionID." This is tested and works - as users click through the continuous list of interventions, the continuous list of misbehaviors changes per intervention. Now, I need to link another...
0
9471
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10302
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10136
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
10071
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
8958
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
7478
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
5501
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3631
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2867
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.