Link Child / Master Fields

J

JohnLute

I have a subreport with the record source:
SELECT tblProfilesRevisions.txtProfileID,
tblProfilesRevisionsProfiles.txtProfileID,
tblProfilesRevisions.EffectiveDate, tblProfilesRevisions.IssueNumber,
tblProfilesRevisions.Revision, tblProfilesRevisions.Status
FROM tblProfilesRevisions LEFT JOIN tblProfilesRevisionsProfiles ON
tblProfilesRevisions.numProfilesRevisionsID =
tblProfilesRevisionsProfiles.numProfilesRevisionsID
WHERE (((tblProfilesRevisions.Status)="Approved"))
ORDER BY tblProfilesRevisions.EffectiveDate DESC;

This returns the desired data.

My challenge is setting the Child?master links in the main report. The main
report queries the field txtProfileID which needs to be the Master Link
however this leaves me with two Child Links:
tblProfilesRevisions.txtProfileID
tblProfilesRevisionsProfiles.txtProfileID

I've tried linking these in the main report however when both are made as
Child Links then the subreport returns null.

Can I make both Child Links? If so how can I do this?

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