CR9
Windows XP
SQL server
I have to pass 2 values to the subreport. I link via an invoice number, however I also need to pass the invoice type too as it uses a dual primary key.
I have not found how to get the variable passed to the subreport for each invoice.
what I have is:
Main report:
Shared stringVar ttype:= {tfacr200.ttyp};
I placed that value in the hear for the invoice group. I am linked via invoice number.
In the subreport selection group I tried:
{tfacr200.ninv} = {?Pm-tfacr200.ninv}
and
{tfacr200.ttyp} = stringVar ttype;
This produces no records in the subreport. How should I be passing this across?
Windows XP
SQL server
I have to pass 2 values to the subreport. I link via an invoice number, however I also need to pass the invoice type too as it uses a dual primary key.
I have not found how to get the variable passed to the subreport for each invoice.
what I have is:
Main report:
Shared stringVar ttype:= {tfacr200.ttyp};
I placed that value in the hear for the invoice group. I am linked via invoice number.
In the subreport selection group I tried:
{tfacr200.ninv} = {?Pm-tfacr200.ninv}
and
{tfacr200.ttyp} = stringVar ttype;
This produces no records in the subreport. How should I be passing this across?