Re: Cursor Location
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Thu, 04 May 2006 22:03:05 -0500
Is there a way to save off the cursor location or record location while
switching from 1 index to another and after switching back to the first
index be able to return that that exact record.
Is there also a way to set an index without making it active? The problem
that I am having is in order to use seek I have to set the primary key index
which sets the cursor to record 1 so I lose the orginal position that the
cursor was on when the database was sorted on another index. I want to be
able to return to the original location. I am using a TAdoDataset with a
server side cursor.
No to both questions but what mite work for you is to use the TadoDataset.clone
method to make a copy of your dataset and change the Sort property of the clone.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- References:
- Cursor Location
- From: Jeff Howard
- Cursor Location
- Prev by Date: ADO Dataset and Master Detail recordsets
- Next by Date: dxDBGrid no reaction immediately
- Previous by thread: Cursor Location
- Next by thread: ADO Dataset and Master Detail recordsets
- Index(es):
Relevant Pages
|