Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"{?Pm" in Select Expert 1

Status
Not open for further replies.

DilbertAsok

Technical User
Oct 28, 2009
5
GB
Hi,

I'm making changes to a Crytal Report that was written by someone else, and within the Select Expert section there is the following formula:

Code:
{TABLE1.CODE} = {?Pm-TABLE2.CODE}

What does the
Code:
?Pm
mean or do?

Thanks,
 
You are working on a report that is a subreport within another main report. The {?pm-Table2.code} represents the link to the main report field {table2.code}.

-LB
 
That makes sense, thanks.

I have since noticed that I can set the link between the subreport and the main report when I first go Insert>SubReport, but can I amend this link at a later stage?

As it is my subreport was very simple so I just deleted it & made another, but this would be good to know for future reference.

Thanks.
 
In the main report, go to edit->subreport links and change the links there. I would then double check the record selection formula within the subreport to make sure that old links are removed and new ones reflected.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top