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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sub-report parameter links do not stay set

Status
Not open for further replies.

wreiche

IS-IT--Management
Sep 28, 2006
36
CA
I have a main report which contains one sub-report.

I am trying to pass parameters from the main report to the sub-report by setting up sub-report links.

Some of the parameters work (always the same three). With the other parameters, I define the sub-report links, but when I exit from and return to the sub-report links form, the links are gone.

All parameters are of type string.

The parameter names used in the sub-reports are Pm?<parameter name in main report>

Any ideas?
 
Have you linked to something? This will add a line in Record Selection for the subreport, but if you don't want it you can remove it.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
I'm not sure I understand "have you linked to something?". I've linked a parameter in the main report (InvoiceNumber) to a parameter in the sub-report (Pm-?InvoiceNumber). For now, I've included this as a display field in the sub-report.

Werner
 
If you have created a parameter in the subreport, then in the subreport linking screen, use the dropdown in the lower left to select {?InvoiceNumber} instead of the default {?pm-?InvoiceNumber}.

-LB
 
Ooops. I forgot the hyphen in the sub-report parameter name (i.e. pm?InvoiceNumber instead of pm-?InvoiceNumber).

THanks for the help.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top