Subject RE: [IBO] Locate key value AfterOpen
Author Alan McDonald
ah ha! yes - see my last post.
So if you wanted to go to a bookmark afteropening, but it's not the first
open, and it's also still before the user sees the grid, where would you
trigger the locate?

Alan

-----Original Message-----
From: Lester Caine [mailto:lester@...]
Sent: Wednesday, 29 January 2003 6:40 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Locate key value AfterOpen


> query is opened, I can see the query statement as
> SELECT FIELD1
> , FIELD2
> , ETC
> WHERE PRIMARYKEY=?
> where ?value is the bookmark.

If that is the FIRST open, then that is the problem.
I open the query without a 'filter' before doing any
'Locate' work. It will only fetch records as it needs them,
but obviously it needs to fetch a set of files around the
locate to display them.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services


___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/