Sorry - Entity.EntityName should have been Entity.AttributeName !


On Jan 23, 2009, at 2:56 PM, Ken Anderson wrote:

or for those who are Wonder-less:

EOKeyValueQualifier startQ = new EOKeyValueQualifier(Entity.EntityName, EOQualifier.QualifierOperatorGreaterThanOrEqualTo, startDate); EOKeyValueQualifier endQ = new EOKeyValueQualifier(Entity.EntityName, EOQualifier.QualifierOperatorLessThanOrEqualTo, endDate);

EOAndQualifier qualifier = new EOAndQualifier(new NSArray(new Object[] {startQ, endQ}));

I typed this by hand - not responsible for typos :)

Ken


On Jan 23, 2009, at 2:50 PM, J Stephanos wrote:

Try this:

EOQualifier qualifier = ERXQ.between(articleDate, date1, date2);

      ERXQ requires Wonder though (ERExtensions).

--JSt

On Fri, Jan 23, 2009 at 2:41 PM, Amedeo Mantica <[email protected] > wrote:
Hello,

does anyone know hot to build a quelifier for looking up an item in a Date range?

I have a table of Articles, and I need to select a range by articleDate

I tried but I was unable to build a working qualifier

Regards
Amedeo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jstephanos%40gmail.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to