<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Arial">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 "</font> (note trailing spaces) and
it should work the way you want.<br>
<br>
Bill<br>
<br>
<div class="moz-cite-prefix">On 6/25/2014 10:04 PM, 'Scott Smith'
wrote:<br>
</div>
<blockquote cite="mid:12BE2946BF4A4CBCBA19754331B54F9E@scotts"
type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
<br>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email is free from viruses and malware because <a href="http://www.avast.com/">avast! Antivirus</a> protection is active.
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>