please help!

dunbarx at aol.com dunbarx at aol.com
Thu Apr 3 21:42:37 CEST 2014


Hi.


"filter" and "matchtext" take a bit of practice. It seems you have more stuff in your filterPattern than you need, but I could be mistaken, As a test, make a field with the following in it:
aa
bb
cc
dd


Now in a button:



on mouseUp
   get fld 1
   filter it without "bb" --also try "filter with..."
end mouseUp



Does this do what you intended?


Craig Newman


-----Original Message-----
From: larry <larry at significantplanet.org>
To: use-livecode <use-livecode at lists.runrev.com>
Sent: Thu, Apr 3, 2014 3:27 pm
Subject: please help!


I've tried 20 different ways of syntax for a filter and still cannot make it 
work.

I'm trying to filter the lines of a field that contains a specific string, say 
"d14" somewhere within the field.

Here is the latest that did NOT work:

on mouseUp

filter field column3 with "* "d14" *"

end mouseUp
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 


More information about the use-livecode mailing list