Yes - you're performing a numeric comparison. Alphanumeric comparisons
start at the leftmost byte - regardless of length.
Mike White
Office: 813-978-2192
E-mail: [EMAIL PROTECTED]
"Kyle Whitley"
<[EMAIL PROTECTED] To: [email protected]
.EDU> cc:
Sent by: "Action Subject: Re: Comparing feild
lengths
Request System
discussion
list(ARSList)"
<[EMAIL PROTECTED]
ORG>
01/26/2007 09:53
Please respond to
arslist
They are character....they should be integer shouldn't they?
Kyle
Lucero, Michelle - IST contractor wrote:
> Are ztemp1 and ztemp2control integer or character fields?
>
> Thanks,
> Michelle
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[EMAIL PROTECTED] On Behalf Of Kyle Whitley
> Sent: Friday, January 26, 2007 8:34 AM
> To: [email protected]
> Subject: Comparing feild lengths
>
> I have two temp fields that I have created some workflow to compare
> length between the two. First field is set by the user when they type
> in a value, the second field is the control (ie the first field must be
> >= the second field). Problem is that when the first field is double
> digits (> 9) my qualifications are failing, stating the the first field
> is shorter than the control. What could be causing this?
>
> Ex:
>
> ztemp1 = 12
> ztemp2control = 8
>
> I have an active link that fires stating that if ztemp1 < ztemp2control
>
> then a message is displayed telling the user that "ztemp1 needs to be 8
> characters or greater". This works fine until ztemp1 is double digits.
>
> ARS 6.3
>
> Thanks
>
> Kyle
>
>
--
Kyle Whitley
IT System Support Professional
Office of Information and Instructional Technology (OIIT)
Board of Regents of the University System of Georgia
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"