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

range formula with parameter value?

Status
Not open for further replies.

pinkpoppy

Programmer
Jul 6, 2011
75
US
How can I write a formula that uses the range operator and also a parameter value? For example, I need a crystal syntax formula that checks to see if a database field of 1 - 12 has a parameter value of 11.

Something like this if it is possible:
if {tablename.field} in (1 to 12) = {Parameter value} then true else false
 
You don't need the "in (1 to 12) part,just say If {table.field} = {?Parameter}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top