Subject RE: [IBO] RE: Current record lost on sorting by a column in TIB_Grid
Author IBO Support List
Nice, I should have checked other answers before I said anything.

Thanks for being there Set!

Jason
www.ibobjects.com


-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Svein Erling Tysvær
Sent: Tuesday, June 18, 2013 12:32 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] RE: Current record lost on sorting by a column in TIB_Grid

Check your KeyLinks and RefreshAction, if KeyLinks isn't set (or incorrectly
set), then IBO doesn't know how to distinguish the rows from each other and
cannot relocate, RefreshAction you can set to e.g. keep the data position or
the row number (though that probably also requires KeyLinks to be correctly
set).

HTH,
Set

-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Thomas Lenders
Sent: 17. juni 2013 18:03
To: IBObjects@yahoogroups.com
Subject: [IBO] Current record lost on sorting by a column in TIB_Grid

Hello group,

Something I did in an application using IBO 4.9.14 Build 55 caused a strange
"feature", which is that when clicking on a column header to sort by that
col, the current row changes.
Or, it could be something that changed between IBO version as switched to
the version above after receiving a patch by Jason (it was easier to
implement it in a more current version).

Anyone has an idea on the top of their head what could cause this behaviour
?

Regards,
Thomas


------------------------------------

___________________________________________________________________________
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 !
Yahoo! Groups Links