Re: EOQualifiers (concatenation)
Re: EOQualifiers (concatenation)
- Subject: Re: EOQualifiers (concatenation)
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 11 May 2010 10:34:28 -0700 (PDT)
Yes it is correct... because I typed it.. I am trying to concat. the EOQualifier in my program.
if this.theDescString is null don't add it to the qualifier....
Ted
--- On Tue, 5/11/10, Chuck Hill <email@hidden> wrote:
> From: Chuck Hill <email@hidden>
> Subject: Re: EOQualifiers (concatenation)
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> Date: Tuesday, May 11, 2010, 1:28 PM
>
> On May 11, 2010, at 9:48 AM, Theodore Petrosky wrote:
>
> > EOQualifier theSearchQualifier0 =
> ERXQ.is("hasChildren", hasChild);
> > EOQualifier theSearchQualifier1 =
> ERXQ.is("isComplete", includeClosedJobs);
> > EOQualifier theSearchQualifier2 =
> ERXQ.contains("jobDescription", this.theDescString);
> >
> > I have these three qualifiers... If I use them
> separately, they work exactly as expected.
> >
> > How can I add them together to form 1 qualifier to
> give to the fetch?
> >
> > what I want to end up with is:
> >
> > EOQualifier theSearchQualifier =
> ERXQ.and(ERXQ.contains("jobDescription",
> this.theDescString), ERXQ.is("isComplete",
> includeClosedJobs), ERXQ.is("hasChildren", hasChild));
> >
>
> Have you tried that? It looks correct....
>
>
> --Chuck Hill
> Senior Consultant / VP Development
>
_______________________________________________
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