empty field
Kenneth Brody
kenbrody at spamcop.net
Wed Oct 3 09:27:07 PDT 2012
On 10/3/2012 11:52 AM, GCC Consulting wrote:
> FilePro 5.6.10
> Windows Server 2008
>
> I added a status field to a file - 108(1,.0)
>
> In a select process I test this field
>
> 13 If: 108="0"
> Then: end
>
> When I run the select process with the debugger, line 13 shows as true even
> though there is no value in this field.
>
> Anyone know why this would happen?
Because " " is numerically equivalent to "0". If you need to compare equal
to zero, and not to blank:
if: 108 = "0" and 108 ne ""
--
Kenneth Brody
More information about the Filepro-list
mailing list