Subject | Re: [IBO] Re: Opening at last record? |
---|---|
Author | Jason Wharton |
Post date | 2002-06-10T20:52:13Z |
I'll log this as something to look into.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "sdbeames" <s.beames@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, June 10, 2002 12:59 PM
Subject: [IBO] Re: Opening at last record?
> --- In IBObjects@y..., "sdbeames" <s.beames@m...> wrote:
> > Hi,
> > what is the correct way to open a query on the last record
> > (without changing the sort order)?
> >
> > I tried adding:
> > IB_Query1->Last();
> > to the query's AfterOpen() event, but the last record is un-
> editable
> > and the Edit button on my TIB_UpdateBar stays grayed until I've
> > moved to another record.
> >
> > V4.2.Hd/FB1/XP/BCB5
> >
> > Thanks,
> > Steve
>
> A simple test app shows the same behaviour, so it can't be because
> of my event handling. Is there a method I can call to correct the
> dataset's editability? It's in dssBrowse state before and after the
> call to Last().
>
> Or should I move the call somewhere else?
>
> Thanks,
> Steve