Link to home
Start Free TrialLog in
Avatar of winglan88
winglan88

asked on

Link field appears as parameter field in RDC

I'm using RDC to run a Crystal report that contains a subreport.  Both the main report and the subreport run off of stored procedures that ask for parameter inputs.  All the fields and subreports are added through Crystal 8.5 and not dynamically through VB.  All I'm supplying on the VB side are the parameter values.  But when I try to supply the parameter values in VB, the RDC also asks for the value of the field that links the main report and the subreport together even though I already set the link field through Crystal 8.5.  Does anyone know how to override it?  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of winglan88
winglan88

ASKER

I just found out how it works.  Crystal automatically creates a parameter field in the subreport when a link field is assigned.  I just set the value of the link field parameter to {?Pm-StoredProcName;1.FieldName} in VB and it seems to work.  

Thanks.
Glad to help

mlmcc