Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!pacbell!well!moon!ymt!ymt!mike From: mike@ymt.com (Michael Czeiszperger) Newsgroups: comp.sys.mac.hypercard Subject: Re: How to find fields that DO NOT contain a string? Message-ID: Date: 17 Jun 91 20:54:07 GMT References: <4507@uakari.primate.wisc.edu> Lines: 27 gdavis@primate.wisc.edu (Gary Davis) writes: >Another approach is to use popup menus to supply the couplers: "is", >"is not", "contains", "less than", etc, so the user doesn't have >to know what to type in the fields. I found this to be the best, or at least my favorite. >The scripting to carry out a search based on the entries in the search >card can get somewhat complicated, but needn't be too bad. One way >is to use "mark cards where" followed by a statement containg all the >conditions, such as, > mark cards where field "Producer" = "Touchstone" and field "Length" > < 2 >Instead of actual values in the statement you would use variables >set from the fields on the search card. I not only want to be able to set what fields to search for what text, but also complicated and's, or's, and nots. The problem is you can't have the mark expression after the where be a variable - it just doesn't work. Instead, I've head to generate a function, stick it in the background, and call it every time I want to do a search. -- Michael Czeiszperger | "I'm trying to teach a caveman to play scrabble mike@ymt.com | but the only word he is knows is 'uugh', and he Greenbrae, CA | doesn't know how to spell it!"