Searching on every field related to an object?
Searching on every field related to an object?
- Subject: Searching on every field related to an object?
- From: steve stout <email@hidden>
- Date: Tue, 25 Nov 2003 18:36:05 -0700
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.