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

Printing all subform data records

I have a simple database - 3 fields (Parent,Component,Qty)
and I link this table to itself using Master File Parent and Link File
Component.

This creates a multi-indented table which I would like to get to a
sequential file with all levels of the Master File listed.

Example:

Master File

Item 1->Component1
Item 1->Component2
Component2.1->Component2.1.1
Component2.2->Component2.2.1
Component2.3->Component2.3.1
Component2.4->Component2.4.1
Component2.4.1->Component2.4.1.1
Component2.4.2->Component2.4.2.1
Component2.4.3->Component2.4.3.1
Item 1->Component3
Component3.1->Component3.1.1
Component3.2->Component3.2.1
Component3.3->Component3.3.1
Component3.4->Component3.4.1
Item 1->Component4
Component4.1->Component4.1.1
Component4.2->Component4.2.1
Item 1->Component5

When I add a subdatasheet to the master file I am able to expand the
database to see all records at any level - that is when I click on a
component its components are listed.

I must be missing something when I tried to add a sub/form to my report
that will list all records at all levels.
Is there a link that would explain it.

Nov 13 '05 #1
5 1660
Sounds a bit like a recipe db that I wrote where each recipe consisted of
ingredients + other recipes.

E.G. A Steak & Kidney pudding consists of a pudding Recipe, A Gravy Recipe,
Steak ingredient, Kidney Ingredient, Salt, Pepper. The Pudding recipe
consists of Flour, water, salt etc.
No limit to the depth of recipes and sub recipes

Any help

Phil

P.S. You may realise I am no cook.
"Paul" <pp******@glcomputers.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I have a simple database - 3 fields (Parent,Component,Qty)
and I link this table to itself using Master File Parent and Link File
Component.

This creates a multi-indented table which I would like to get to a
sequential file with all levels of the Master File listed.

Example:

Master File

Item 1->Component1
Item 1->Component2
Component2.1->Component2.1.1
Component2.2->Component2.2.1
Component2.3->Component2.3.1
Component2.4->Component2.4.1
Component2.4.1->Component2.4.1.1
Component2.4.2->Component2.4.2.1
Component2.4.3->Component2.4.3.1
Item 1->Component3
Component3.1->Component3.1.1
Component3.2->Component3.2.1
Component3.3->Component3.3.1
Component3.4->Component3.4.1
Item 1->Component4
Component4.1->Component4.1.1
Component4.2->Component4.2.1
Item 1->Component5

When I add a subdatasheet to the master file I am able to expand the
database to see all records at any level - that is when I click on a
component its components are listed.

I must be missing something when I tried to add a sub/form to my report
that will list all records at all levels.
Is there a link that would explain it.

Nov 13 '05 #2

"Phil Stanton" <di********@stantonfamily.co.uk> wrote:
E.G. A Steak & Kidney pudding consists of a pudding Recipe, A Gravy Recipe, Steak ingredient, Kidney Ingredient, Salt, Pepper. The Pudding recipe
consists of Flour, water, salt etc.


That's just nasty.

Darryl Kerkeslager
Nov 13 '05 #3
Darryl Kerkeslager wrote:
"Phil Stanton" <di********@stantonfamily.co.uk> wrote:
E.G. A Steak & Kidney pudding consists of a pudding Recipe, A Gravy


Recipe,
Steak ingredient, Kidney Ingredient, Salt, Pepper. The Pudding recipe
consists of Flour, water, salt etc.

That's just nasty.


It depends on the relative amount! Pudding with no salt at all can be
very annoying, or even dusty.

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #4
I meant the kidneys!

Darryl Kerkeslager
"Bas Cost Budde" <b.*********@heuvelqop.nl> wrote:
Darryl Kerkeslager wrote:
"Phil Stanton" <di********@stantonfamily.co.uk> wrote:
E.G. A Steak & Kidney pudding consists of a pudding Recipe, A Gravy


Recipe,
Steak ingredient, Kidney Ingredient, Salt, Pepper. The Pudding recipe
consists of Flour, water, salt etc.

That's just nasty.


It depends on the relative amount! Pudding with no salt at all can be
very annoying, or even dusty.

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea

Nov 13 '05 #5
Darryl Kerkeslager wrote:
I meant the kidneys!


Very popular in the UK. I'm in the same camp as Crocodile Dundee on that
one, you can live on it, but it tastes like shit.

Man: Steak and Kiddly pie please.
Shop Assitant: Don't you mean Steak and Kidney?
Man: I said that diddle I?

--
This sig left intentionally blank
Nov 13 '05 #6

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

Similar topics

6
by: John | last post by:
Hi, I have simple database based on 3 tables. Relationship is 'one to many' between table 1 and 2, also between 2 and 3 table'one to many'. I have made form where I enter data in all 3 tables....
6
by: Ray | last post by:
I have a main form with a subform. The main form has a combo box which lists all the clients which in turn are displayed in the subform. The subform is bound to the combo box and all work well....
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
4
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...
5
by: tdmailbox | last post by:
I have a form with a child form. In the child form there is a list of names that can grow quite large. On the parent form I want to display the first name from the child form. I set up a test...
3
by: ChadDiesel | last post by:
I've been posting questions here the last week, but if you don't know my situation: I have a "Print Labels" button on the subform that sends the appropriate box information on the subform to a...
1
by: Earl Anderson | last post by:
Using WinXP & AccessXP, I'd like to automatically have the records that I've just printed in a report automatically updated to have the 'print date & time' immediately inserted into a 'Date/Time'...
4
by: aqua404 | last post by:
I know this has been discussed, but I can't find a resolution. I have a subform on a form. The table with the data for the main form has 15,000 records. I am opening and then setting...
4
by: paquer | last post by:
Hello' How do I get the subform to print along with the main form? I want my user's to be able to go in the field with a printout of the info they need to populate in the database. So when they...
1
by: paquer | last post by:
I have forms that are used in the office as well as in the field. I want user's to be able to print out an exact copy of the form for "in the field" data entry. (Yes we are still stuck in the 90's....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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?

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.