Re: Create and Query Multiple Values in an attribute
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