Re: Fetch next DB Record w/o using Display Groups
Re: Fetch next DB Record w/o using Display Groups
- Subject: Re: Fetch next DB Record w/o using Display Groups
- From: Ben Ketteridge <email@hidden>
- Date: Thu, 14 Oct 2004 00:45:36 +0100
Use a fetch where the primary key of the object is greater than your
current record, with a sort ordering ascending by primary key, and a
fetch limit of 1?
You may have to use a raw row fetch if the primary key of your class
is not exposed in the EOGenericRecord subclass.
HTH,
Ben
On Wed, 13 Oct 2004 19:31:52 -0400, Jeremy Matthews
<email@hidden> wrote:
> Any ideas on how to do this?
> We are building a WebObjects Application without DisplayGroups.
>
> We have most everything set, short of a "Next Record" function,
> which everyone would love...
>
> Thanks,
> Jeremy
>
> _______________________________________________
> WebObjects-dev mailing list
> email@hidden
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
--
| Ben Ketteridge email@hidden, aka Gremlin |
| It is by caffeine alone that I set my mind in motion. |
| It is by the coffee that the thoughts acquire speed, |
| the lips acquire stains, the stains become a warning. |
| It is by caffeine alone that I set my mind in motion. |
_______________________________________________
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