Peter, I've had a look at this and it's exactly what I want (actually am
going to look into the more recent heirarchical flexgrid control). Thanks
very much!
One problem, when I try to insert one of these into my Access form, I get a
microsoft errror "you do not have a licence...". I've found a hotfix for the
.net development environment for this error, but not for Access. Have you any
ideas how I fix this?
Julia
:
Julia,
One way to do what you want is to use a Flex Grid control but it will
involve some serious VBA coding. If you are up to that see :- :-
http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='Flex Grid Demo.mdb'
for some examples, including one which does more or less what you are
trying to do.
Peter Hibbs.
On Wed, 20 Feb 2008 06:54:01 -0800, Julia B
Thanks Albert, I had already found this solution, but it's not going to work
for me. My users want to display the child records of all of the main records
at the same time. They don't want to have to select a record to display its
child records. They need to see everything for comparison purposes.
Hence I need continuous form within continuous form.......
Julia
:
Just simply put two sub-forms side by side.....
take a look at the last screen shot here:
http://www.members.shaw.ca/AlbertKallal/Articles/Grid.htm
You notice that we have "many" records on the left side, and "many" on the
right side.......
Because the right side sub form is not a true some form of the left side,
when you navigate to each record on the left side, the right side sub form
will not know to update its data.
The simple solution is to put in the on-current event of the left side sub
forms the following code:
me.Parent.Child2.Requery.
In the link child/master settings for child 2 form you place
linkChildFields main_id (whatever is the name of the field in
this sub-form that is used to relate back to the parent table (the left side
sub-form).
LinkMasterFields [MasterForm].[form].[ID] "masterForm" is the name of
the control you used to hold the master form, or simply the name of the left
side sub-form.
Take a look at some of the other screen shots in the above weblink I gave
you, it might give you some other interface ideas.