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

Parameters (Range and Decrete Values) Crystal 8.5

Status
Not open for further replies.

kabtjb

Technical User
Dec 2, 2003
8
US
I have created a parameter in Crystal 8.5 that is able to run a range value or a dicrete value seperately, but I need the parameter to allow the user to have the option of running both a range value and dicrete value at the same time. When I try to run the parameter using both a range value and a dicrete value it just returns the dicrete value. Any suggestions?
 
What does your record selection formula look like? It should look something like:

{Table.Field} in {?Parameter}

-dave
 
Here is an example of what my record selection formula looks like:

{Table1.Field} in ["A", "B", "C"] and
{Table1.Field} in DateTime (2002, 10, 01, 00, 00, 00) to DateTime (2003, 09, 30, 23, 59, 59) and
{Table2.Filed} = {?Parameter}

 
Did you try changing this: {Table2.Filed} = {?Parameter}
to this: {Table2.Filed} in {?Parameter}
?

-dave
 
That was it!! Thank you so much!! The word 'in' wasn't in the drop down menu options, but when I typed it in the actual formula it worked!! Thanks again!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top