Can any please explain ?

Bill Randall wrandall at fptech.com
Thu Jun 26 04:12:17 PDT 2014


It is not dd that is the problem.  You are comparing it to "Bank" which 
is only 4 characters long so that is all that is compared.  If the user 
is putting in "Bank" as a shortcut to "Bank Cheque", then change your 
compare to be dd eq "Bank                          " (note trailing 
spaces) and it should work the way you want.

Bill

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
>



---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20140626/51918a91/attachment.html 


More information about the Filepro-list mailing list