Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Parameter Issue Post Reply Post New Topic
Author Message
jsh8286
Groupie
Groupie
Avatar

Joined: 09 Mar 2012
Online Status: Offline
Posts: 46
Quote jsh8286 Replybullet Topic: Parameter Issue
    Posted: 01 Jul 2015 at 6:27am
Have created a report with three parameters. First parameter is for a customer number. The second and third are for Project Numbers (to and from in a range) for this customer.

The report works perfectly in all aspects except when the parameter for the Project numbers is a different length. The report in this case returns nothing.

So for example if I input my Customer Number in the first parameter and leave the Project Number parameters (to and from) blank it returns all the Project Numbers for that customer. Perfect.

If I input that same customer and I input a range this time, for example 1-LM to 9-LM the report returns all project numbers within that range. Perfect.

If I input that same customer and I input a range this time, for example 1-LM to 10-LM the report is blank. Incorrect.

If I input that same customer and I input a range this time, for example 10-LM to 15-LM the report returns all project numbers within that range. Perfect.

So obviously if the length of the parameters in the to and from are a different length the report doesn't work.

The parameter information in the to and from is a string field.

Not sure what is going on.

Any suggestions greatly appreciated.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 01 Jul 2015 at 6:54am
it is a string not a number.
Are there lead spaces for 1-9 involved?
sort on the field to get a better handle on how the use of a any < or > or between is working.

Edited by DBlank - 01 Jul 2015 at 6:54am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.