cancel
Showing results for 
Search instead for 
Did you mean: 

CR XI R2 Problem with setting noBound RangeValueBoundType

Former Member
0 Kudos

I have a single range value date parameter. I set it as follows:

ParameterFieldValue rangeVal = createSingleRangeVal(startDateTimeValue, endDateTimeValue, RangeValueBoundType.noBound, RangeValueBoundType.inclusive);

paramFieldController.setCurrentValue("", "ReportDateRange", rangeVal);

I expect it to ignore the startDateTimeValue since RangeValueBoundType.noBound is set for the start time. But it keeps using the startDateTimeValue. What do I need to do to set noBound? I tried setting startDateTimeValue to null, but that gave me an error.

I can set no lower value in the designer window and get my report just fine. So I assume the rpt is ok.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Please be more specific about the exact issue you are experiencing; are you receiving an error or is it simply ignoring the fact that you have no lower boundary set and using the start time as a lower boundary?

Not having seen what the createSingleRangeVal method is doing it isn't possible to guess why the noBound isn't working for you. If you can please be more specific about what you are doing in your method and the issue you are having that would be helpful.