Connecting Tech Pros Worldwide Forums | Help | Site Map

Show Parent once and all Children on form in Text boxes

Fifer's Avatar
Newbie
 
Join Date: Nov 2007
Posts: 2
#1: Nov 9 '07
I have a table with 2 fields "system" and "subsystem" I would like to show the recordsets in a form with the system field showing only one time but all of the related subsystem fields shown on the form, perhaps in Text boxes not using Combo boxes...see below..

Table
system---------subsystem
1--------------------1-100
1--------------------1-200
1--------------------1-300
1--------------------1-400
2--------------------2-100
2--------------------2-200
2--------------------2-300

Form
system--------subsystem
1-------------------1-100
---------------------1-200
---------------------1-300
---------------------1-400
2-------------------2-100
---------------------2-200
---------------------2-300

As above the system field would only show one time...

I'm just stuck with this...

B

ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,224
#2: Nov 10 '07

re: Show Parent once and all Children on form in Text boxes


Quote:

Originally Posted by Fifer

I have a table with 2 fields "system" and "subsystem" I would like to show the recordsets in a form with the system field showing only one time but all of the related subsystem fields shown on the form, perhaps in Text boxes not using Combo boxes...see below..

Table
system---------subsystem
1--------------------1-100
1--------------------1-200
1--------------------1-300
1--------------------1-400
2--------------------2-100
2--------------------2-200
2--------------------2-300

Form
system--------subsystem
1-------------------1-100
---------------------1-200
---------------------1-300
---------------------1-400
2-------------------2-100
---------------------2-200
---------------------2-300

As above the system field would only show one time...

I'm just stuck with this...

B

Why not use a Sub-Form?
Fifer's Avatar
Newbie
 
Join Date: Nov 2007
Posts: 2
#3: Nov 10 '07

re: Show Parent once and all Children on form in Text boxes


Subform is a great idea, I have tried it and it works for me!, any idea how to show the dataset but without the rows and grid? I just want it all grey as if it was a form...switching to single form or continuous forms is not what I need, I've tried that..

Fifer
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,224
#4: Nov 10 '07

re: Show Parent once and all Children on form in Text boxes


Quote:

Originally Posted by Fifer

Subform is a great idea, I have tried it and it works for me!, any idea how to show the dataset but without the rows and grid? I just want it all grey as if it was a form...switching to single form or continuous forms is not what I need, I've tried that..

Fifer

How about returing a Text Field similar to:
Expand|Select|Wrap|Line Numbers
  1. 1-100 | 1-200 | 1-300 | 1-400 etc.
Reply