Help with simple conditional?

Kenneth Brody kenbrody at spamcop.net
Thu Aug 16 05:59:20 PDT 2012


On 8/15/2012 7:56 PM, Fairlight wrote:
> I cannot believe this is not working.  I have no idea why so far.  I
> double-checked the manual to make sure I remembered it correctly.
>
> I'm doing a key field lookup.  It succeeds.  If I take the conditional out,
> it will list every record.  The line I have problems with is this:
>
> If: sintest(1) co SearchTerm
> Then: goto skipit
[...]
> Is there some trick to using the 'co' contains operator that I've
> forgotten?  I haven't used it in years in processing.  I usually only use
> it in IUA short selection.[...]

If "SearchTerm" contains trailing spaces, then sintest(1) must also contain 
those spaces in order to match.

Try:

    If:  sintest(1) co SearchTerm{""

-- 
Kenneth Brody


More information about the Filepro-list mailing list