' Set the discreet value to the customers name.
            pdvCustomerName.Value = cbCustomers.Text            ' Add it to the parameter collection.
            pvCollection.Add(pdvCustomerName)            ' Apply the current parameter values.
            rptCustomersOrders.DataDefinition.ParameterFields("@CustomerName").ApplyCurrentValues(pvCollection)