Can any please explain ?

Nancy Palmquist Nancy.Palmquist at vss3.com
Thu Jun 26 10:16:35 PDT 2014


Scott,

I always do these like this:

dd{"~" eq "Bank~"

This works when you are comparing codes or anything that has left 
justified data and has different lengths.

You can also do this with an envelope if the data can be right or left 
justified.

"~"{dd{"~" eq "~"{12{"~"

I have run into so many cases it is second nature any more.

Nancy
On 6/25/2014 10:04 PM, 'Scott Smith' wrote:
> Can some please tell me why:
>
> IF (Input table)
>
> @wlfd3::dd (30,*) = draw(@af)
> :dd eq "Bank" : draw(@af) = "Bank Cheque"; display
> ::end
>
> And in Screen if
>
> The d3 field is entered as : "Bankorsomething name "
>
> Then it changes to "Bank Cheque"
>
> The dd should be the whole field yet the equals is only seeming to compare
> the starting first part of the field.
>
> Thanks
>
> Scott Smith
>
>
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>

-- 
Nancy Palmquist
Owner
Virtual Software Systems - www.vss3.com
(412) 835-9417



More information about the Filepro-list mailing list