subreport not displaying fields

J

JohnLute

I have two tables with the following fields to report:

tblProfiles
txtProfileID (PK)
Description
Type

tblPKProfilesAssociations
txtProfileID (PK)
ProfilesAssociations (PK)
Quantity
Comments

tblProfiles is related to tblPKProfilesAssociations in a one-to-many
relationship and functions as something of a bill of material. This is a
tricky design. tblProfiles houses many types of entities that can relate to
each other. Hence the one-to-many relationship: one txtProfileID may relate
to many txtProfileIDs.

Now that you have the pertinent table design background; here is the
pertinent report design:

I have a subreport:
srptProfilesAssociations
RecordSource:
SELECT tblPKProfilesAssociations.*, tblProfiles.Description,
tblProfiles.Type FROM tblProfiles INNER JOIN tblPKProfilesAssociations ON
tblProfiles.txtProfileID = tblPKProfilesAssociations.txtProfileID;

My rptFinishedGoods uses this subreportwhich is linked:
Link Child Field: tblProfilesAssociations.ProfilesAssociations
Link Master Field: tblProfiles.txtProfileID

When I run rptFinishedGoods everything is fine except that the following two
fields do not display:
tblProfilesAssociations.Quantity
tblProfilesAssociations.Comments.

When I run srptProfilesAssociations all fields display. Only when I run
rptFinishedGoods do the two fields not display.

Do you see anything in the design that’s causing the fields to not display?
I can’t seem to work this one out. Any help would be greatly appreciated!

THANKS!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top