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 <amedeomail...@insigno.it > 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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jstephanos%40gmail.com

This email sent to jstepha...@gmail.com

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

This email sent to kenli...@anderhome.com

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

This email sent to kenli...@anderhome.com

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

This email sent to arch...@mail-archive.com

Reply via email to