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

subreport linking parameters

Status
Not open for further replies.

AlexB1234

Programmer
Jul 9, 2003
26
US
I have a report with a subreport and I'm trying to retrieve the linking values, which appear to be nothing more than parameter fields, in the Drill() event so that I can redirect the browser to a custom page.

I've tried accessing the linking parameters like so:
crParameterFieldDefinitions = crReportDocument.DataDefinition.ParameterFields()
crParameterFieldDefinition = crParameterFieldDefinitions.Item("Pm-BILLING_ENTRIES.DS_FSCL_YEAR")
' Has no value!
If crParameterFieldDefinition.CurrentValues.Count > 0 Then
Dim pval As New ParameterDiscreteValue()
Response.Write("Values for " & crParameterFieldDefinition.Name & ":")
For Each pval In crParameterFieldDefinition.CurrentValues
Response.Write(pval.Value)
Next
End If

However, the parameter has no value.

Anyone have any ideas on how to do this? Or know how to access the value of a fieldobject? I noticed there's no .Value property.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top