• 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
Re: Create and Query Multiple Values in an attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create and Query Multiple Values in an attribute


  • Subject: Re: Create and Query Multiple Values in an attribute
  • From: email@hidden
  • Date: Wed, 14 Mar 2007 05:43:38 -0000 (GMT)

>> need to figure out how to get the array
>> to populate my WORepetition.
>
> I'm not sure quite what to suggest here other than that the array
> returned from the fetch is bound to the "list" binding of the WORepetition
> and an arbitrary variable of the same type as an element of the array is
> bound to the "item" attribute.
>

I seem to have sorted this out anyway by doing:

	theDisplayGroup.setQualifier(theQual);
	theDisplayGroup.qualifyDataSource();

Which seems to do the trick.


>> Try qualifiers.addObject(EOQualifier.qualifierWithQualifierFormat
> ("recordField = %s OR anotherRecordField = %s", new NSArray(new Object
> [] {aSearchField, aSearchField}));
>
>
> Since you have two references in the "QualifierFormat", then you need
> to supply two values in the array.
>

Excellent - that explains that, and it works just fine like that.

Thank you very much,

Ian.

--
MacMail - the Webmail service especially for Mac users worldwide
http://www.macmail.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Create and Query Multiple Values in an attribute (From: email@hidden)
 >Re: Create and Query Multiple Values in an attribute (From: "Jerry W. Walker" <email@hidden>)

  • Prev by Date: Re: DST Update WO 5.3.3 and Java Client
  • Next by Date: Session and DirectAction
  • Previous by thread: Re: Create and Query Multiple Values in an attribute
  • Next by thread: AJAXTree vs. YUI tree
  • Index(es):
    • Date
    • Thread