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

limit to record selection variables?

Status
Not open for further replies.

mwhalen

Programmer
Oct 31, 2000
217
CA
Hi there. I have a record selection on my report where type is one of a, b, c, d, ... Is there a limit to the number of variables does anyone know that you can put in the record selection?
 
Variables shouldn't be used at all in the record selection formulas, do you mean values?

A {table.field} in ["A","B"] is not using any variables, it is a hard coded list of values compared to a field, and I doubt that you'll find a small quantity available, although the version of your software and memory will certainly change this.

If you have that many, a not({table.value} in ["X","Y","Z"]) might be simpler to code, or use a like operator.

If you post:

Crystal version
Database/connectivity
Example data
Expected output

You might discover that someone has another idea that will serve you better.

-k
 
yes I do mean values. I have too many different ones to code a like.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top