My Assistant
|
|
Mar 30 2012, 09:51 AM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 78 From: Poole, UK |
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?
Attached File(s)
|
|
|
|
![]() |
Mar 30 2012, 10:03 AM
Post
#2
|
|
|
UtterAccess Ruler Posts: 1,090 |
put first your continuous form to a new form. each subform to each new form.
add these new form to the main form. and set child/ parent link |
|
|
|
sg2808 Multiple Forms Within A Main Form Mar 30 2012, 09:51 AM
pere_de_chipstick Hi sg2808
Just to clarify, you have 1 main form (... Mar 30 2012, 10:30 AM
hassantb1 I agree with pere... I have a main form with about... Mar 31 2012, 05:22 PM
sg2808 Thanks Pere and Hassantb1.
@Hassantb1- Are your s... Mar 31 2012, 06:23 PM
sg2808 HI pere... form B is subform to A, C to B, D to C,... Mar 31 2012, 07:04 PM
missinglinq The OP is not talking about a Main Form with four ... Mar 31 2012, 09:51 PM
pere_de_chipstick Hi sg2808
Yes, you can link separate subforms on ... Apr 1 2012, 03:24 AM
missinglinq Since we're on the subject, it should be noted... Apr 1 2012, 08:09 AM
sg2808 Thanks all of you for sharing your thoughts. I am ... Apr 2 2012, 06:54 AM
sg2808 Hi Linq,
I tried what you suggested. I attached t... Apr 2 2012, 06:57 AM
pere_de_chipstick Hi SG
From your relationships diagram, it is diff... Apr 2 2012, 08:36 AM
sg2808 Thanks pere..
I changed the default view to cont ... Apr 3 2012, 08:25 AM
pere_de_chipstick Hi sg2808
Glad I could help.
If you are only try... Apr 3 2012, 08:52 AM![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 23rd May 2013 - 11:34 AM |