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 <[email protected]> To: use-livecode <[email protected]> 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 [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
