exact match

Walter Vaughan wvaughan at steelerubber.com
Mon Mar 22 10:56:46 PST 2004


Steve Waters wrote:

>Hello,
>
>I have a field that is (20,ALLUP).
>If P/N 705-7v9-34-S comes in house the processing below still runs
>telling the user that this P/N needs a mod.
>How do I get an exact match @wlf1 ?
>
>  
>@WLF1 If: 1 eq "705-7v9"               
>      Then: beep; msgbox "P/N 705-7v9 needs Mod kit 34-S!"  
>
This isn't completely bulletproof, unless 1 is right justfied by the edit
Note the width of the comparison is 20 characters wide. That's the trick.

@WLF1 If: 1 eq "705-7v9             "               
      Then: beep; msgbox "P/N 705-7v9 needs Mod kit 34-S!"

I'd also argue that this routine should
be comparing to values in another table, rather than
being hard coded into your processing table.





More information about the Filepro-list mailing list