Subject RE: [IBO] Generators and row selections
Author Don Schoeman
I found that implicitly calling TIB_Query's Refresh method, the cursor moves
to the first record in the dataset. This makes sense I guess (I seem to
remember that this is the way the BDE VCL worked). I should probably use
bookmarks to enable the implicit refresh of a dataset to keep the last
selected record.

-Don


-----Original Message-----
From: Don Schoeman [mailto:ds@...]
Sent: 07 August 2001 11:11
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Generators and row selections


It doesn't seem to work. I saw that the cursor actually moves to the "first"
row in the dataset rather than the last selected row.

-Don



-----Original Message-----
From: Riho-Rene Ellermaa [mailto:r.ellermaa@...]
Sent: 07 August 2001 11:03
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Generators and row selections


Maybe changing TIB_Query's RefreshAction value will help


Riho-Rene Ellermaa
senior programmer
Hansabank

-----Original Message-----
From: Don Schoeman [mailto:ds@...]
Sent: Tuesday, August 07, 2001 10:52 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Generators and row selections


I have two problems:

Firstly, I manually insert records to a dataset using methods like
TIB_Query's Insert method. Even though I do have the KeyLinks property
correctly set to the primary key of the table, the row cursor moves to the
previously selected record after the post. I would like it to stay at the
newly created record. I've tried setting the KeyLinksAutoDefine property to
true instead of specifying the LeyLinks also, but it still doesn't work.
What am I missing?




[Non-text portions of this message have been removed]





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






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