>I must be eating "stupid" pills today.
>
[quoted text clipped - 51 lines]
>> >> > thanks,
>> >> > -D
Table1 contains records for members (memberid, name,etc).
Table2 contains transactions for the members (trannum,memberid,trandate,
etc).
In the listbox I want all the members to appear. When the user clicks on a
user name
in the listbox, I want a grid on the right to show all the transactions for
that member.
So, the linking field between table1 and table2 is memberid. I haven't
created a "relationship"
(1 to many) between the tables. I thought by specifying the child link and
master link fields as
memberid I would be ok.
What am I missing ?
> Is the same table/field part of the source for both forms? If not, you will
> need to work out a way to manage this, in order to create the master/child
[quoted text clipped - 54 lines]
> >> >> > thanks,
> >> >> > -D
SusanV - 26 Oct 2005 14:52 GMT
No, the relationship must be defined in order to link the fields. I bet once
you do this it will be fine
;-)
SusanV
> Table1 contains records for members (memberid, name,etc).
> Table2 contains transactions for the members (trannum,memberid,trandate,
[quoted text clipped - 83 lines]
>> >> >> > thanks,
>> >> >> > -D
Darryl - 26 Oct 2005 20:15 GMT
thanks for the help. Still cludgy and doesn't work quite right.
Everything I've read says drag-n-drop and all is well.
When I drop a subform on a main form, it NEVER builds the child/master
links.
When I click the wizard (...) it says "Can't build a link between unbound
forms".
If I assign a data source to my main form (which doesn't have any controls
other than
2 subforms), then it works but since the main form does not cycle through
the records,
the subreport sticks on the first record of table2.
Ready to scream now.
Even tried a listbox on the main form and then the detail sub form. When I
click on a record in the listbox,
the detail doesn't show.
A tutorial probably would help.
-D
> No, the relationship must be defined in order to link the fields. I bet once
> you do this it will be fine
[quoted text clipped - 90 lines]
> >> >> >> > thanks,
> >> >> >> > -D
SusanV - 26 Oct 2005 20:32 GMT
I feel your pain Darryl, been there believe me! I ran into the EXACT same
thing you are on my first project.
Then one day when my head hurt from running it into the wall I realized -
instead of using 2 subforms, use ONE as the main form and make it bigger to
accommodate the second one as a subform to that one. Make sure both forms
are related and you should be good to go.
It can be frustrating for sure, but you'll get it working!
;-)
> thanks for the help. Still cludgy and doesn't work quite right.
> Everything I've read says drag-n-drop and all is well.
[quoted text clipped - 120 lines]
>> >> >> >> > thanks,
>> >> >> >> > -D