creating a qualifier in EOModeler with like and a variable
creating a qualifier in EOModeler with like and a variable
- Subject: creating a qualifier in EOModeler with like and a variable
- From: Jeff Martirano <email@hidden>
- Date: Thu, 21 Aug 2003 18:20:06 -0700
Hallo list,
I am creating a fetch spec (with a qualifier) with EOModeler and trying
to figure out how to add % to a variable so that it allows a variable
number of letters after a variable to be searched upon in the rows.
The value of the variable partialWord is created after the user enters
a word in text field and submits, it is then thrown into a
NSMutableDictionary which is then bound to the fetch spec to use it as
the qualifier for a variable where I have set (title like
$partialWord). In EOModeler I tried (title like $partialWord%) and
other similar grouping variations, but none worked.
I considered programatically adding the % to the value of variable
before it was inserted into the NSMutableDictionary, but that seemed
like more work than WO typically requires for such a simple feature,
and I wasn't sure if it would even work or be evaluated. I also know
that I could programmatically create a fetch spec with qualifier but I
though I should ask first to see if there was a solution to make it
work in EOModeler.
Jeff
_______________________________________________
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.