G
Guest
I need to preview a report based in two primary keys. I can do it with one
primary key, but I don't know how to do it with two. Here is what I'm doing
with just one primary key which is "SocialSN". I need to preview the report
with "LoanId" key, so if one person has more than one loan, I can see only
the one I have on screen. Can somebody help me?
DoCmd.OpenReport "RptLoan2", acPreview, , "[SocialSN] =
Forms![Loan].form![SocialSN]"
primary key, but I don't know how to do it with two. Here is what I'm doing
with just one primary key which is "SocialSN". I need to preview the report
with "LoanId" key, so if one person has more than one loan, I can see only
the one I have on screen. Can somebody help me?
DoCmd.OpenReport "RptLoan2", acPreview, , "[SocialSN] =
Forms![Loan].form![SocialSN]"