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

Evaluate string in statement 1

Status
Not open for further replies.

wld1957

Technical User
Feb 3, 2006
68
US
CRXI - I have a text field. I only want to display when the value is = or greater than the following:
08CV158506 or 08TX005798.
I can get it to work for one, but not both.
This works - if {cpmain.docketnbr} >= "08CV158506" then false else true
This does not - if {cpmain.docketnbr} >= ["08CV158506","08TX005798"] then false else true
When I try to combine the values it tells me the array must be subscripted.
Any help or ideas would be greatly appreciated. Thanks in advance.

Bill
 
In the logic of any sort

08TX005798 will be greater than 08CV158506

Thus surely all you need is

if {cpmain.docketnbr} >= "08CV158506" then false else true

Ian

 
Your are right - this has been a long week already.. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top