Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Searching on every field related to an object?



I'm looking for an easy way to build a qualifier in WO that will allow me to search on every char field related to an object. Including relationships.

I have an Order table, with relationships to Customer and other tables like the item they ordered, etc. I'd like to put one text box on the page and be able to enter any string into that field and retrieve any Order object that has that text in any of its fields and related fields. For example, the person types in a phone number, then any Order with a relationship to a Customer that has that phone number will be returned. Or a name could be typed in, or an address.

I'm just wondering if there's an alternative to creating lots of EOQualifiers and ORing them together. Or if there's an easy way to query the EOModel and dynamically build a qualifier.

I'm using an OpenBase database if there's any trick that might help out with that.

Thanks.



///---------------------------------------
steve stout
web coordinator
arizona student unions
52o.626.o1o9

http://www.union.arizona.edu
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.