| View previous topic :: View next topic |
| Author |
Message |
Michael Qua Guest
|
Posted: Mon Aug 02, 2004 4:41 am Post subject: Position cursor |
|
|
Hi, I have a grid to allow users to select which record they want to
edit. The query would reset when the edit is posted and the cursor
would be on the first record of the query. How do I position the cursor
on the just edited record? I'm currently using locate but it's a bit
slow. I'm using D6 IB6. Thanks
Michael Qua
|
|
| Back to top |
|
 |
George Christoforakis Guest
|
Posted: Mon Aug 02, 2004 11:36 am Post subject: Re: Position cursor |
|
|
use the BookMark. It should do the trick.
George Christoforakis.
"Michael Qua" <michaelsyqua (AT) yahoo (DOT) com> wrote
| Quote: | Hi, I have a grid to allow users to select which record they want to
edit. The query would reset when the edit is posted and the cursor
would be on the first record of the query. How do I position the cursor
on the just edited record? I'm currently using locate but it's a bit
slow. I'm using D6 IB6. Thanks
Michael Qua
|
|
|
| Back to top |
|
 |
Michael Qua Guest
|
Posted: Tue Aug 03, 2004 1:27 am Post subject: Re: Position cursor |
|
|
Thanks for reply, I'll give it a try.
George Christoforakis wrote:
| Quote: | use the BookMark. It should do the trick.
George Christoforakis.
"Michael Qua" <michaelsyqua (AT) yahoo (DOT) com> wrote in message
news:410dc195 (AT) newsgroups (DOT) borland.com...
Hi, I have a grid to allow users to select which record they want to
edit. The query would reset when the edit is posted and the cursor
would be on the first record of the query. How do I position the cursor
on the just edited record? I'm currently using locate but it's a bit
slow. I'm using D6 IB6. Thanks
Michael Qua
|
|
|
| Back to top |
|
 |
Michael Qua Guest
|
Posted: Tue Aug 03, 2004 3:27 am Post subject: Re: Position cursor |
|
|
Hi, two questions
1. Will it work if I have to close the query? (Or maybe theres a way to
reflect the edit without closing and openning the query, refresh doesn't
always work)
2. Will it be faster than Lookup or FindKey?
Thanks
George Christoforakis wrote:
| Quote: | use the BookMark. It should do the trick.
George Christoforakis.
"Michael Qua" <michaelsyqua (AT) yahoo (DOT) com> wrote in message
news:410dc195 (AT) newsgroups (DOT) borland.com...
Hi, I have a grid to allow users to select which record they want to
edit. The query would reset when the edit is posted and the cursor
would be on the first record of the query. How do I position the cursor
on the just edited record? I'm currently using locate but it's a bit
slow. I'm using D6 IB6. Thanks
Michael Qua
|
|
|
| Back to top |
|
 |
George Christoforakis Guest
|
Posted: Tue Aug 03, 2004 10:40 am Post subject: Re: Position cursor |
|
|
1) good question, I haven't tried it...
2) yes, as far as i'm concerned bookmark is fast, but I haven't compared it
across the commands you mention. Bookmark keeps a pointer to the record
(roughly speaking), and it would be faster than using commands that search
in the table-i think so-...
George Christoforakis.
"Michael Qua" <michaelsyqua (AT) yahoo (DOT) com> wrote
| Quote: | Hi, two questions
1. Will it work if I have to close the query? (Or maybe theres a way to
reflect the edit without closing and openning the query, refresh doesn't
always work)
2. Will it be faster than Lookup or FindKey?
Thanks
|
|
|
| Back to top |
|
 |
|