IDoWindows
Programmer
I am passing a string from VB5.0 like this:
CrystalReport1.Formulas(0) = "UID= '" & mvAccountID & "'"
The main report receives the value passed into its formula named @UID.
I have selected my subreport, right-clicked, and Changed Subreport Links...
I selected the formula @UID from the box on the left. I checked "Select data in subreport based on field."
Then I chose the matching field from the database in the drop-down box below the "select" checkbox.
I notice in the drop-down on the left, CR has made a parameter "?Pm-@UID".
After checking the record selection formula for the subreport, I find that it contains the database match-field = CR-generated parameter, like this:
{ESEConfMems.UName} = {?Pm-@UID}
So now, it seems like I'd get the subreport, but it comes up blank...
CrystalReport1.Formulas(0) = "UID= '" & mvAccountID & "'"
The main report receives the value passed into its formula named @UID.
I have selected my subreport, right-clicked, and Changed Subreport Links...
I selected the formula @UID from the box on the left. I checked "Select data in subreport based on field."
Then I chose the matching field from the database in the drop-down box below the "select" checkbox.
I notice in the drop-down on the left, CR has made a parameter "?Pm-@UID".
After checking the record selection formula for the subreport, I find that it contains the database match-field = CR-generated parameter, like this:
{ESEConfMems.UName} = {?Pm-@UID}
So now, it seems like I'd get the subreport, but it comes up blank...