on 01-23-2015 4:44 PM
Hi I have a report that have a grouping based on client Name and the details shows the transaction details filtered between startdate and enddate parameter.
I have a subreport in clientName Group Header which takes the same date parameters to show some summary data based on the client.
The details should list the transaction details for the date period selected.
I have a record selection formula as follows:
{Customers.CustomerID} = {?customerID} and {TransactionLogs.CreatedDt} in {?startdate} to {?enddate}
'Set report parameters
Dim cDiscreteValue1 As New ParameterDiscreteValue()
cDiscreteValue1.Value = startdate
cr.ParameterFields("startdate").CurrentValues.Clear()
cr.ParameterFields("startdate").DefaultValues.Clear()
cr.ParameterFields("startdate").CurrentValues.Add(cDiscreteValue1)
cDiscreteValue1.Value = enddate
cr.ParameterFields("enddate").CurrentValues.Clear()
cr.ParameterFields("enddate").DefaultValues.Clear()
cr.ParameterFields("enddate").CurrentValues.Add(cDiscreteValue1)
cDiscreteValue1.Value = companyid
cr.ParameterFields("customerID").CurrentValues.Clear()
cr.ParameterFields("customerID").DefaultValues.Clear()
cr.ParameterFields("customerID").CurrentValues.Add(cDiscreteValue1)
But the details section is showing all the transactions without the records filtered.
Any suggestions??
Hi Manoj
Does the report work in the CR designer?
What version of the CR designer are you using?
What version assemblies are you using?
If you let the report prompt for the parameters at runtime (e.g.; comment out the param code), and fill out the param values manually, does the report work?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am downloading the latest versions now and about the work flow.
Load report
logon to the database
set the selection formula
set the parameters
view.... is my workflow in the app.
I will interchange the selection formula and parameters and see if this will fix the issue and will update you in my next reply.
Thank you for your help.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.