M
melwester
I had asked this question last week. And Marsh answered and it worked last
week. Only now it's NOT working. So here is the question and details again
as I may have had done something to screw it up:
I have an IDnumber on my main form that I want to link the info to my
subforms that I have built under the Tab Control. I was using Popups last
week and found out how to build subforms under the Tab control. Much more
nicer this way.
Someone had recommended that I use subdatasheets to link my data from the
main table. (This I did today). As in the table of (CTANotes) I sometimes
have 2 or more records with the same IDNumber with different dates attached.
What this table is capturing is all the data per doctor as to what was done
and date of occurance. Each doctor has an separate IDNumber. This same ID
number is used on the main form that shows the address, contact person. Right
now on the subdatasheet the IDNumber is not there as this sheet is linked to
the main Table.
For example of the Notes Table:
ID Comments Date
1034 Had checkup 6/3/05
1034 Went in for tests 5/30/04
1035 Please work 7/5/05
I get ALL records in the CTANotes table. I cannot group each line as each
row has a different date. I've tried continuous form and Single form but that
shows the entire table or no data at all. I don't want this.
I've also done what Marsh suggested with the Child/Master links. If I put
in both IDNumber for child/master I get just the headers on the Tab/subform
and nothing else. If I erase out the child but leave in the Master link I
get ALL the files from CTANotes. I Don't want this either. I just want
what was listed on the main form such as 1035 or 1034 with all of it's lines
associated with 1035 or 1034.
How do I get more then 1 line to show on the subform per IDNumber?
week. Only now it's NOT working. So here is the question and details again
as I may have had done something to screw it up:
I have an IDnumber on my main form that I want to link the info to my
subforms that I have built under the Tab Control. I was using Popups last
week and found out how to build subforms under the Tab control. Much more
nicer this way.
Someone had recommended that I use subdatasheets to link my data from the
main table. (This I did today). As in the table of (CTANotes) I sometimes
have 2 or more records with the same IDNumber with different dates attached.
What this table is capturing is all the data per doctor as to what was done
and date of occurance. Each doctor has an separate IDNumber. This same ID
number is used on the main form that shows the address, contact person. Right
now on the subdatasheet the IDNumber is not there as this sheet is linked to
the main Table.
For example of the Notes Table:
ID Comments Date
1034 Had checkup 6/3/05
1034 Went in for tests 5/30/04
1035 Please work 7/5/05
I get ALL records in the CTANotes table. I cannot group each line as each
row has a different date. I've tried continuous form and Single form but that
shows the entire table or no data at all. I don't want this.
I've also done what Marsh suggested with the Child/Master links. If I put
in both IDNumber for child/master I get just the headers on the Tab/subform
and nothing else. If I erase out the child but leave in the Master link I
get ALL the files from CTANotes. I Don't want this either. I just want
what was listed on the main form such as 1035 or 1034 with all of it's lines
associated with 1035 or 1034.
How do I get more then 1 line to show on the subform per IDNumber?