• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
creating a qualifier in EOModeler with like and a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: creating a qualifier in EOModeler with like and a variable
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: 4.5 question - _holdMe array trick
  • Next by Date: Re: creating a qualifier in EOModeler with like and a variable
  • Previous by thread: Re: longRespose Query
  • Next by thread: Re: creating a qualifier in EOModeler with like and a variable
  • Index(es):
    • Date
    • Thread