This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, I'm busy implementing the criteriaFind() and had the following thought: Should we allow multiple criteria for a particular field? For instance, would the following criteria string be valid - "Destination airport=DEN,Destination airport=SFO"? Has anyone else implemented this pseudo 'OR' statement? Is it required for the assignment or is it enough to only allow one criteria for each field? Also, maybe you could comment on my design of this method: At present I am tokenising the criteria string on the ',' and then again on the '='. I then attempt map the fieldnames to fieldindexes in the schema - storing the search criteria values in an array with the position being the field index. I then iterate over the records in the datafile and try to match search criteria for values. Thanks, Steve [ February 08, 2002: Message edited by: Steve Granton ]