?
Solved

Circumvent Continuous Forms within Continuous Forms Issue

Posted on 2013-05-24
5
Medium Priority
?
246 Views
Last Modified: 2013-05-29
User selects customer from selection form.
Single form is displayed with customer information.

Below the customer is another form that allows the user to select a Package Type that is tied back to the customer with the customer id. User can select multiple package types. Each package type can have multiple contents. In the example below, the Package Type BOX contains gloves, hammer, and Nails. If the user selects Bottle, there would be different contents. Previously, i would have handled this with a continuous form within a continuous form. However, 2013 put a halt to that. The package contents are tied back to the package type via the package type id. The Package type is tied back to the Customer via the customer id. Can I create a form that looks like this so when the user chooses the package type they can see the package type selected and the items in the package. Both subforms will be continuous forms.
+-----------------------------------------------------------------------
| Customer Info
+-----------------------------------------------------------------------

+---------------------       +----------------------------
|Package Type          |Package Contents
+---------------------        +---------------------------
|Box____________        |Gloves
|Bottle                       |Hammer
|Can                           |Nails  
---------------------
0
Comment
Question by:rodneygray
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 61

Expert Comment

by:mbizup
ID: 39195876
To my knowledge, continuous forms have never been an option for subforms of other continuous forms.

You can embed continuous forms in a form in datasheet view... or a datasheet as a subform to another datasheet.  (However this approache generally makes for a slow-loading form).
0
 
LVL 77

Expert Comment

by:peter57r
ID: 39196198
" Previously, i would have handled this with a continuous form within a continuous form."

I agree with Miriam - this has never been possible in Access.

You can place more than one subform onto a main form, and each subform can be set as continuous forms or as a datasheet.  So maybe you can look at your requirements and see if that sort of design will work.
0
 
LVL 61

Accepted Solution

by:
mbizup earned 2000 total points
ID: 39196467
Also read this thread, paying particular attention to the author-posted solution and sample database:

http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_27512608.html#37351187 

This example has a main form with a "first-order" subform which controls another "Second-order" subform, etc - with a very appealing visual layout.  The sample uses datasheet view, but I believe this will work with continuous forms too.

Great sample posted by BBlu there (you'll additionally need the code posted in his 'Accepted Answer'), which might be useful to you.
0
 
LVL 1

Author Comment

by:rodneygray
ID: 39205546
Actually, you can have a continuous form within a continuous form. The second continuous form must be placed in the form footer.
0
 
LVL 1

Author Closing Comment

by:rodneygray
ID: 39205564
My solution, based on the link you sent me, was to add the continuous forms as subforms on my main form. I then linked the forms manually.
Source Object        = NameOfForm
Link Master Fields = NameOfForm.Form!LinkColumnName
Link Child Fields    = LinkColumnName

Worked great. Thanks for getting me on the right path.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Suggested Courses

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question