Topic Options
Rate This Topic
#39618 - 12/29/00 10:36 AM Interpretation of character vs integer fields
p1gdh01 Offline
Just Signed Up

Registered: 06/12/01
Posts: 1

Within the Run If: section of an active link I have 'Value Length' > 4)
where 'Value Length' is an integer field.

Within the Run If: section of an active link I have 'Value Length' > "4")
where 'Value Length' is a character field.

Should these expressions yield the exact same results all the time?





Top
#39619 - 12/29/00 11:56 AM Re: Interpretation of character vs integer fields [Re: tjohnson]
nickym Offline
Stealth Member

Registered: 06/12/01
Posts: 277

No,

If you use chars
"39"<"4"
because it uses the ASCII order to compare,
it only works if tthe valuse is in the ramge 0 - 9.

HTH

Nicky Madjarov
Intellico Solutions, Inc.

1507 Hermitage Pk. Dr.
Hermitage, TN 37076
Phone: (615) 883 7591
Mobil : (201) 747 8672
Pager: 2017478672@mobile.att.net
e-mail: nickym@intellicosolutions.net
http://www.intellicosolutions.net
----- Original Message -----
From: "Gregory D. Howe"
To:
Sent: Friday, December 29, 2000 10:36 AM
Subject: Interpretation of character vs integer fields


> **
>
> Within the Run If: section of an active link I have 'Value Length' > 4)
> where 'Value Length' is an integer field.
>
> Within the Run If: section of an active link I have 'Value Length' > "4")
> where 'Value Length' is a character field.
>
> Should these expressions yield the exact same results all the time?
>
>
>

>





Top


Moderator:  Matt Reinfeldt