473,406 Members | 2,293 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,406 software developers and data experts.

Forms - How to have many sub-forms in the Detail section of the main form?

91
Hi,

I have the following Forms:

[Form A] - Main form - Single form type
[Form B] - Continuous form
[Form C] - Continuous form
[Form D] - Continuous form
[Form E] - Continuous form

I want to add [Form B], [Form C], [Form D], [Form E] as sub-form on the mainform [Form A].

The Forms have the following relationship based on the underlying table:

[Form A] 1:M [Form B] 1:M [Form C] M:M [Form D] M:1 [Form E]

I would also like that the forms are linked with each other ie, if I select a record on one of the parent Form, the corresponding child records should come up in the sub-forms.

I have tried doing this by placing:
[Form E] in [Form D]
[Form D] in [Form C]
[Form C] in [Form B]
[Form B] in [Form A]

However, I face two problems with this approach:

1. The continous form change to single form. I get this error - "A form with a subform object cannot have its DefaultView set to Continuous forms. You tried to add a subform to a form in design view. MSAcess will reset the property to Single Form."

2. The final product (Form A with all the sub-form) is not very eye pleasing. All the sub-forms are nested within each other and looks very complicated.

I am attaching the screen shots.
- The second screen shot shows my final product.
- The first screen shot shows the way I would like to see the Form and the Subform.

Could you please advise re my problems?

Many thanks.

PS: I don't have Photoeditor therefore could not attach it as picture.
Attached Files
File Type: doc Form Design.doc (279.5 KB, 245 views)
Mar 30 '12 #1
3 1651
NeoPa
32,556 Expert Mod 16PB
  1. Clearly then, you won't be able to have a subform within a form in Continuous Forms view. We can tell you little more than Access already has.
  2. How you design your forms aesthetically is a personal decision. I see very little scope for helping with this. You know what you're after, set the sizes and positions of the various objects such that they result in what you want.
Mar 30 '12 #2
sg2808
91
Thanks NeoPa.

1. When I create a form using Form wizard with my first three underlying table, I could see that Access created the form with the subform in a "continuous" type. But if I try to do the same by the procedure as mentioned earlier for the 1st three forms, the form changes from continuous to singe. I am not sure why this is so.

2. I was thinking if i could use the Tab for each forms. However, I am wondering how do I link the tabs (Master - Child) if this is possible.

Could you please share your thoughts?

Thanks.
Mar 31 '12 #3
NeoPa
32,556 Expert Mod 16PB
  1. As I said, I can explain little better than Access already has. Subforms are not supported for running any main form in continuous view. IE. If a form has a subform then it cannot be shown in continuous view.
  2. Tabs are largely irrelevant here. They are a perfectly sensible idea for organising data on a form, but the subform setup is the same whether within a tab control (Page) or not.
Apr 1 '12 #4

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

Similar topics

3
by: adsheehan | last post by:
Hi, Does anyone know the reasoning or pros/cons for either (in a multi-threaded C++ app): - creating many sub-interpreters (Py_NewInterpreter) with a thread state each Or
2
by: c-bass | last post by:
How many database does MySQL Support?
26
by: Roland Hall | last post by:
I'm tired of getting beat up on this issue so I thought I'd ask what you some of you think. I know the basic difference between a subroutine and a function is a subroutine performs a task and a...
1
by: meganrobertson22 | last post by:
Hi Everybody- I am trying to create a Table structure to represent the relationship between Agencies and their Sub-Agencies. There are Agencies and Sub-Agencies. Some Agencies have...
7
by: Doug | last post by:
An ASP.NET session cookie set on "www.mydomain.com" can not be accessed on "search.mydomain.com"; hence, a new session and cookie are being created on every sub-domain. This is occuring because...
4
by: Jan Nielsen | last post by:
Hi all I'm a former Access developer who would like to implement a many-to-many relation in about the same way you do in Access: With a subform and a combo box. Is it possible to use a...
3
by: | last post by:
Is it possible to have just a multithreaded sub procedure? What I need is a timer time_elapsed event (2 sec interval) send params to a sub that is multithreaded. I have a COM component used to...
6
by: Curious | last post by:
In a given folder, there are many sub-folders. Is there an easy way to find out those sub-folders that don't contain any file (empty sub- folders)? Is there such a utility in .NET?
5
by: ghostrider | last post by:
I'm receiving an error messages that states: Too many arguments to 'Public Sub Close()'. Can someone point me in the right dircetion? Public Class HelloWorld Private Sub...
4
by: nstalkol | last post by:
Im a rookie. I have am unbound combo box populated with values (rowsource) from a query which has 2 tables in it. Each table has its own ID, but both are included in the combo box (info3)....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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...
0
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,...
0
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...

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.